Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.00103, allocations: 96.66 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 174.6 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6641/0.6641, allocations: 113.7 MB / 405.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003244, allocations: 8.906 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1711, allocations: 77.12 MB / 0.5567 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004452/0.1756, allocations: 4.094 MB / 0.5607 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.1791, allocations: 2.278 MB / 0.563 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.1795, allocations: 23.81 kB / 0.563 GB, free: 5.238 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1797, allocations: 67.47 kB / 0.5631 GB, free: 5.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008256/0.1805, allocations: 362.9 kB / 0.5634 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/0.1812, allocations: 290.6 kB / 0.5637 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006711/0.1819, allocations: 0.5797 MB / 0.5642 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006603/0.1826, allocations: 424.2 kB / 0.5646 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.1829, allocations: 270.9 kB / 0.5649 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.1833, allocations: 278.8 kB / 0.5652 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.1834, allocations: 24 kB / 0.5652 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.1837, allocations: 143.8 kB / 0.5653 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1838, allocations: 143.5 kB / 0.5655 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1839, allocations: 133.4 kB / 0.5656 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.1845, allocations: 0.5885 MB / 0.5662 GB, free: 1.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1845, allocations: 0 / 0.5662 GB, free: 1.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1845, allocations: 4 kB / 0.5662 GB, free: 1.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.1845, allocations: 3.938 kB / 0.5662 GB, free: 1.938 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001161/0.1857, allocations: 0.8255 MB / 0.567 GB, free: 1.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1857, allocations: 8.031 kB / 0.567 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.1859, allocations: 90.52 kB / 0.5671 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008768/0.1867, allocations: 179 kB / 0.5672 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/0.1874, allocations: 473.4 kB / 0.5677 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.1875, allocations: 32.98 kB / 0.5677 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.1875, allocations: 44 kB / 0.5678 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.1886, allocations: 0.8403 MB / 0.5686 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.1887, allocations: 11.94 kB / 0.5686 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.1887, allocations: 23.98 kB / 0.5686 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.1888, allocations: 64.95 kB / 0.5687 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008344/0.1897, allocations: 0.5616 MB / 0.5692 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004163/0.1938, allocations: 5.658 MB / 0.5748 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.1945, allocations: 450.3 kB / 0.5752 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1945, allocations: 4 kB / 0.5752 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1945, allocations: 46.44 kB / 0.5752 GB, free: 8.012 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.295e-06/0.1946, allocations: 7.938 kB / 0.5752 GB, free: 8.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.00239/0.197, allocations: 1.49 MB / 0.5767 GB, free: 6.398 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.197, allocations: 59.62 kB / 0.5768 GB, free: 6.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.1975, allocations: 498.9 kB / 0.5772 GB, free: 5.828 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1975, allocations: 33.7 kB / 0.5773 GB, free: 5.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.1978, allocations: 350.8 kB / 0.5776 GB, free: 5.441 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/0.1978, allocations: 122.3 kB / 0.5777 GB, free: 5.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.1979, allocations: 12 kB / 0.5777 GB, free: 5.309 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.198, allocations: 366.8 kB / 0.5781 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.1983, allocations: 193.2 kB / 0.5783 GB, free: 4.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.1987, allocations: 439.3 kB / 0.5787 GB, free: 4.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.1991, allocations: 259.7 kB / 0.5789 GB, free: 3.953 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1991, allocations: 4 kB / 0.5789 GB, free: 3.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001166/0.2002, allocations: 0.806 MB / 0.5797 GB, free: 3.121 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.2003, allocations: 15.95 kB / 0.5797 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2003, allocations: 8 kB / 0.5797 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/0.2008, allocations: 156.1 kB / 0.5799 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.2012, allocations: 119.8 kB / 0.58 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3537/0.5549, allocations: 4.054 MB / 0.584 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008046/0.5558, allocations: 37.55 kB / 0.584 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.5559, allocations: 31.52 kB / 0.584 GB, free: 30.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005433/0.5565, allocations: 209.3 kB / 0.5842 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.5567, allocations: 62.42 kB / 0.5843 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.5584, allocations: 0.6019 MB / 0.5849 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5584, allocations: 4.438 kB / 0.5849 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5585, allocations: 1.844 kB / 0.5849 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.5585, allocations: 1.312 kB / 0.5849 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.5612, allocations: 1.249 MB / 0.5861 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.5612, allocations: 1.875 kB / 0.5861 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.5616, allocations: 54.48 kB / 0.5862 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/0.5621, allocations: 148.9 kB / 0.5863 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.5621, allocations: 7.688 kB / 0.5863 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.5652, allocations: 4.051 MB / 0.5903 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5652, allocations: 6.172 kB / 0.5903 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.5665, allocations: 0.7956 MB / 0.591 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.5668, allocations: 166.8 kB / 0.5912 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.5668, allocations: 8.453 kB / 0.5912 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.5671, allocations: 23.69 kB / 0.5912 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.5672, allocations: 34.53 kB / 0.5913 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.5673, allocations: 8.938 kB / 0.5913 GB, free: 25.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000516/0.5678, allocations: 327.3 kB / 0.5916 GB, free: 25.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5678, allocations: 3.281 kB / 0.5916 GB, free: 25.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007994/0.5686, allocations: 141.8 kB / 0.5917 GB, free: 25.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001613/0.5702, allocations: 1.814 MB / 0.5935 GB, free: 23.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.5721, allocations: 1.032 MB / 0.5945 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5721, allocations: 1.25 kB / 0.5945 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008611/0.5729, allocations: 0.7375 MB / 0.5952 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009392/0.5739, allocations: 178.6 kB / 0.5954 GB, free: 22.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006513/0.5804, allocations: 8.988 MB / 0.6042 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.581, allocations: 0.9189 MB / 0.6051 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005109/0.5816, allocations: 120.9 kB / 0.6052 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.5818, allocations: 203.6 kB / 0.6054 GB, free: 14.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.853e-06/0.5819, allocations: 0.5312 kB / 0.6054 GB, free: 14.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.616, allocations: 12.04 MB / 0.6171 GB, free: 10.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/0.6163, allocations: 211.5 kB / 0.6173 GB, free: 10.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.633, allocations: 0 / 0.6173 GB, free: 10.64 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) Environment - environmentSimulation: