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.0007647/0.0007647, allocations: 93.17 kB / 15.7 MB, free: 472 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.0008561/0.0008561, allocations: 170.6 kB / 16.58 MB, free: 5.938 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.245/1.245, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6269/0.6269, allocations: 113.7 MB / 405.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003249, allocations: 8.906 kB / 493.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1462, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005294/0.1515, allocations: 4.241 MB / 0.561 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.1556, allocations: 2.297 MB / 0.5633 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.1563, allocations: 19.81 kB / 0.5633 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.1567, allocations: 91.2 kB / 0.5634 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.158, allocations: 350.1 kB / 0.5637 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.1589, allocations: 283.1 kB / 0.564 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1602, allocations: 0.9563 MB / 0.5649 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009006/0.1611, allocations: 432 kB / 0.5653 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.1617, allocations: 286.7 kB / 0.5656 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.1621, allocations: 322.6 kB / 0.5659 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.1622, allocations: 24 kB / 0.566 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.1626, allocations: 199.7 kB / 0.5661 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.1628, allocations: 159.5 kB / 0.5663 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1629, allocations: 137.3 kB / 0.5664 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006224/0.1636, allocations: 0.6392 MB / 0.567 GB, free: 1.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1636, allocations: 0 / 0.567 GB, free: 1.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1636, allocations: 0 / 0.567 GB, free: 1.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1636, allocations: 0 / 0.567 GB, free: 1.211 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.001153/0.1647, allocations: 0.8372 MB / 0.5679 GB, free: 332 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1648, allocations: 12.03 kB / 0.5679 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.084e-05/0.1649, allocations: 90.5 kB / 0.568 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.166, allocations: 202.9 kB / 0.5682 GB, free: 16 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.1666, allocations: 465.4 kB / 0.5686 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.1667, allocations: 40.92 kB / 0.5686 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.1668, allocations: 47.98 kB / 0.5687 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.1678, allocations: 0.8442 MB / 0.5695 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.1678, allocations: 11.92 kB / 0.5695 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.1679, allocations: 20 kB / 0.5695 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-05/0.168, allocations: 64.95 kB / 0.5696 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/0.1688, allocations: 0.5656 MB / 0.5702 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/0.1727, allocations: 5.658 MB / 0.5757 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.1733, allocations: 446.3 kB / 0.5761 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.1736, allocations: 224.7 kB / 0.5763 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1736, allocations: 4 kB / 0.5763 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1736, allocations: 38.56 kB / 0.5764 GB, free: 7.027 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.255e-06/0.1736, allocations: 3.938 kB / 0.5764 GB, free: 7.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002146/0.1758, allocations: 1.497 MB / 0.5778 GB, free: 5.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.1758, allocations: 55.69 kB / 0.5779 GB, free: 5.344 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.1763, allocations: 494.9 kB / 0.5784 GB, free: 4.848 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1763, allocations: 29.7 kB / 0.5784 GB, free: 4.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.1765, allocations: 358.8 kB / 0.5787 GB, free: 4.457 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.569e-05/0.1766, allocations: 122.4 kB / 0.5788 GB, free: 4.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.1767, allocations: 12 kB / 0.5789 GB, free: 4.324 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1768, allocations: 366.8 kB / 0.5792 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.1771, allocations: 193.1 kB / 0.5794 GB, free: 3.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.1775, allocations: 451.3 kB / 0.5798 GB, free: 3.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.1778, allocations: 259.8 kB / 0.5801 GB, free: 2.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1778, allocations: 0 / 0.5801 GB, free: 2.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001129/0.179, allocations: 0.8136 MB / 0.5809 GB, free: 2.121 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.179, allocations: 12.06 kB / 0.5809 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.179, allocations: 8 kB / 0.5809 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.1795, allocations: 152.1 kB / 0.581 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.1799, allocations: 123.7 kB / 0.5811 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2684/0.4483, allocations: 4.028 MB / 0.5851 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.4489, allocations: 35.09 kB / 0.5851 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.449, allocations: 29.06 kB / 0.5851 GB, free: 29.96 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.0003422/0.4494, allocations: 217.4 kB / 0.5853 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.4495, allocations: 61.95 kB / 0.5854 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.4507, allocations: 0.5929 MB / 0.586 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4507, allocations: 4.469 kB / 0.586 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4507, allocations: 1.344 kB / 0.586 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4507, allocations: 2.156 kB / 0.586 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.4528, allocations: 1.252 MB / 0.5872 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4528, allocations: 2.281 kB / 0.5872 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.4531, allocations: 58.77 kB / 0.5873 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.4535, allocations: 140.4 kB / 0.5874 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.4535, allocations: 11.86 kB / 0.5874 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.456, allocations: 4.024 MB / 0.5913 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.456, allocations: 8.234 kB / 0.5914 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.457, allocations: 0.7107 MB / 0.592 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.4573, allocations: 162.9 kB / 0.5922 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.669e-05/0.4574, allocations: 12.53 kB / 0.5922 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.4576, allocations: 25.05 kB / 0.5922 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.4577, allocations: 32.09 kB / 0.5923 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.4577, allocations: 8.188 kB / 0.5923 GB, free: 25.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003967/0.4581, allocations: 332.5 kB / 0.5926 GB, free: 25.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4581, allocations: 0.75 kB / 0.5926 GB, free: 25.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006713/0.4588, allocations: 145.2 kB / 0.5927 GB, free: 25 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.001152/0.46, allocations: 1.248 MB / 0.5939 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.4613, allocations: 1.035 MB / 0.595 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4613, allocations: 1.375 kB / 0.595 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.462, allocations: 0.7403 MB / 0.5957 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008756/0.4629, allocations: 188.3 kB / 0.5959 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.4676, allocations: 3.429 MB / 0.5992 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4681, allocations: 0.9057 MB / 0.6001 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004006/0.4685, allocations: 119 kB / 0.6002 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.4687, allocations: 195.7 kB / 0.6004 GB, free: 19.82 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4687, allocations: 0.625 kB / 0.6004 GB, free: 19.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.4968, allocations: 12.06 MB / 0.6122 GB, free: 16.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.497, allocations: 215.8 kB / 0.6124 GB, free: 16.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.421, allocations: 7.547 kB / 0.6124 GB, free: 16.32 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: