Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.0008573/0.0008572, allocations: 99.23 kB / 15.69 MB, free: 476 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.0009132/0.0009132, allocations: 172 kB / 16.57 MB, free: 6.387 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.139/1.139, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6727/0.6727, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002706, allocations: 11.94 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002771/0.1253, allocations: 2.751 MB / 0.5594 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1273, allocations: 1.719 MB / 0.5611 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.818e-05/0.1274, allocations: 3.938 kB / 0.5611 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1275, allocations: 35.77 kB / 0.5611 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.1278, allocations: 155.5 kB / 0.5613 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.1282, allocations: 215.5 kB / 0.5615 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1285, allocations: 243.5 kB / 0.5617 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005893/0.1291, allocations: 433.5 kB / 0.5621 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1292, allocations: 111.6 kB / 0.5622 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1295, allocations: 135.5 kB / 0.5624 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.1295, allocations: 16 kB / 0.5624 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1297, allocations: 131.8 kB / 0.5625 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.1298, allocations: 95.77 kB / 0.5626 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.1299, allocations: 77.58 kB / 0.5627 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.1302, allocations: 343.1 kB / 0.563 GB, free: 5.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.1302, allocations: 3.938 kB / 0.563 GB, free: 5.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1302, allocations: 0 / 0.563 GB, free: 5.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1302, allocations: 0 / 0.563 GB, free: 5.219 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007597/0.131, allocations: 0.5456 MB / 0.5635 GB, free: 4.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.131, allocations: 8.031 kB / 0.5636 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.62e-05/0.1311, allocations: 62.53 kB / 0.5636 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006766/0.1318, allocations: 111.5 kB / 0.5637 GB, free: 4.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1321, allocations: 268.6 kB / 0.564 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1321, allocations: 16.55 kB / 0.564 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/0.1322, allocations: 31.98 kB / 0.564 GB, free: 4.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.1327, allocations: 453 kB / 0.5645 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1327, allocations: 0 / 0.5645 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.1328, allocations: 8 kB / 0.5645 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.1329, allocations: 40.53 kB / 0.5645 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.1334, allocations: 349.9 kB / 0.5648 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.1354, allocations: 2.195 MB / 0.567 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.1357, allocations: 266.9 kB / 0.5672 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1358, allocations: 8.172 kB / 0.5672 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1358, allocations: 38.75 kB / 0.5673 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.1358, allocations: 0 / 0.5673 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.001453/0.1372, allocations: 1.048 MB / 0.5683 GB, free: 15.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1373, allocations: 59.27 kB / 0.5684 GB, free: 15.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1375, allocations: 256.8 kB / 0.5686 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1375, allocations: 29.7 kB / 0.5686 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.1376, allocations: 187.9 kB / 0.5688 GB, free: 14.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.1377, allocations: 82.84 kB / 0.5689 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.1377, allocations: 8 kB / 0.5689 GB, free: 14.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.1378, allocations: 330.8 kB / 0.5692 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.138, allocations: 151.9 kB / 0.5694 GB, free: 14.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.1382, allocations: 241.5 kB / 0.5696 GB, free: 13.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.1385, allocations: 177.3 kB / 0.5698 GB, free: 13.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1385, allocations: 0 / 0.5698 GB, free: 13.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009262/0.1394, allocations: 0.5897 MB / 0.5703 GB, free: 13.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1394, allocations: 8 kB / 0.5703 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1394, allocations: 4 kB / 0.5703 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.14, allocations: 192.7 kB / 0.5705 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.1403, allocations: 59.89 kB / 0.5706 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.1426, allocations: 2.353 MB / 0.5729 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1429, allocations: 20.05 kB / 0.5729 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1429, allocations: 23.92 kB / 0.5729 GB, free: 10.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.1431, allocations: 157.7 kB / 0.5731 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.1431, allocations: 23.72 kB / 0.5731 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000484/0.1436, allocations: 355.1 kB / 0.5734 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1436, allocations: 4 kB / 0.5734 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1436, allocations: 0 / 0.5734 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1436, allocations: 4 kB / 0.5734 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009361/0.1446, allocations: 0.8137 MB / 0.5742 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1446, allocations: 4 kB / 0.5742 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.145, allocations: 75.88 kB / 0.5743 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.145, allocations: 0 / 0.5743 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.145, allocations: 8 kB / 0.5743 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.145, allocations: 4 kB / 0.5743 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.145, allocations: 0 / 0.5743 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/0.1457, allocations: 0.6381 MB / 0.5749 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.1458, allocations: 124.8 kB / 0.5751 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.1458, allocations: 15.94 kB / 0.5751 GB, free: 8.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.146, allocations: 15.94 kB / 0.5751 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.1461, allocations: 15.97 kB / 0.5751 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1461, allocations: 8 kB / 0.5751 GB, free: 8.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1462, allocations: 176.5 kB / 0.5753 GB, free: 7.891 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1462, allocations: 0 / 0.5753 GB, free: 7.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003514/0.1466, allocations: 88 kB / 0.5754 GB, free: 7.805 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008939/0.1475, allocations: 1.316 MB / 0.5767 GB, free: 6.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007147/0.1482, allocations: 0.534 MB / 0.5772 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1482, allocations: 4 kB / 0.5772 GB, free: 5.895 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.1484, allocations: 145.5 kB / 0.5773 GB, free: 5.754 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.1487, allocations: 44.41 kB / 0.5774 GB, free: 5.711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.1519, allocations: 3.781 MB / 0.5811 GB, free: 1.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1522, allocations: 0.8028 MB / 0.5818 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.1524, allocations: 74.91 kB / 0.5819 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.1525, allocations: 87.41 kB / 0.582 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1525, allocations: 0 / 0.582 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.014/1.167, allocations: 6.25 MB / 0.5881 GB, free: 32.28 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/1.167, allocations: 215.6 kB / 0.5883 GB, free: 32.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.959, allocations: 0.9375 kB / 0.5883 GB, free: 32.04 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) Environment - environmentSimulation: