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.001408/0.001408, allocations: 110.8 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 195.1 kB / 17.34 MB, free: 5.762 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7885/0.7885, allocations: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 64.5 kB / 0.5679 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1151, allocations: 77.94 MB / 0.6441 GB, free: 9.395 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004355/0.1195, allocations: 3.248 MB / 0.6472 GB, free: 6.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.1227, allocations: 2.011 MB / 0.6492 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.1229, allocations: 11.94 kB / 0.6492 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009306/0.1238, allocations: 289 kB / 0.6495 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000504/0.1243, allocations: 242.9 kB / 0.6497 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.125, allocations: 283.3 kB / 0.65 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.1254, allocations: 410.7 kB / 0.6504 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.1257, allocations: 203 kB / 0.6506 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.1259, allocations: 167.4 kB / 0.6507 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.1262, allocations: 195.3 kB / 0.6509 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.1262, allocations: 24 kB / 0.6509 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.1266, allocations: 263.5 kB / 0.6512 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1268, allocations: 123.7 kB / 0.6513 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1269, allocations: 147.3 kB / 0.6514 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.1275, allocations: 495.3 kB / 0.6519 GB, free: 1.312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1275, allocations: 0 / 0.6519 GB, free: 1.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1275, allocations: 0 / 0.6519 GB, free: 1.312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1275, allocations: 0 / 0.6519 GB, free: 1.312 MB / 494.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.001033/0.1285, allocations: 0.6004 MB / 0.6525 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1286, allocations: 8.625 kB / 0.6525 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.598e-05/0.1287, allocations: 66.72 kB / 0.6526 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009459/0.1296, allocations: 112.4 kB / 0.6527 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.13, allocations: 285.9 kB / 0.653 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.13, allocations: 16.94 kB / 0.653 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.1301, allocations: 40.39 kB / 0.653 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006966/0.1308, allocations: 457.1 kB / 0.6534 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1309, allocations: 0 / 0.6534 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.1309, allocations: 11.98 kB / 0.6535 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.1311, allocations: 40.53 kB / 0.6535 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.1317, allocations: 365.9 kB / 0.6538 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.1344, allocations: 2.214 MB / 0.656 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.1348, allocations: 270.4 kB / 0.6563 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.1351, allocations: 164.8 kB / 0.6564 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1351, allocations: 4 kB / 0.6564 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1351, allocations: 34.56 kB / 0.6565 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.1351, allocations: 0 / 0.6565 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.00176/0.1369, allocations: 1.053 MB / 0.6575 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.1369, allocations: 55.41 kB / 0.6575 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.1373, allocations: 252.9 kB / 0.6578 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.1373, allocations: 33.7 kB / 0.6578 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.1374, allocations: 184 kB / 0.658 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.1375, allocations: 86.75 kB / 0.6581 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.1376, allocations: 85.53 kB / 0.6581 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1378, allocations: 338.8 kB / 0.6585 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.1381, allocations: 159.8 kB / 0.6586 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.1384, allocations: 249.6 kB / 0.6589 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006004/0.139, allocations: 410.8 kB / 0.6593 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.139, allocations: 3.938 kB / 0.6593 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001199/0.1403, allocations: 0.5963 MB / 0.6598 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1403, allocations: 8 kB / 0.6598 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1403, allocations: 3.938 kB / 0.6599 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006833/0.141, allocations: 192.9 kB / 0.66 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.1413, allocations: 63.89 kB / 0.6601 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.1442, allocations: 2.485 MB / 0.6625 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.1446, allocations: 23.98 kB / 0.6625 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.1447, allocations: 16.05 kB / 0.6626 GB, free: 5.715 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.1448, allocations: 173.6 kB / 0.6627 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.1449, allocations: 23.72 kB / 0.6628 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.1455, allocations: 360.1 kB / 0.6631 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1455, allocations: 4 kB / 0.6631 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1455, allocations: 0 / 0.6631 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1455, allocations: 0 / 0.6631 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1466, allocations: 0.8176 MB / 0.6639 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1466, allocations: 0 / 0.6639 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.147, allocations: 75.88 kB / 0.664 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.147, allocations: 3.938 kB / 0.664 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.1471, allocations: 8 kB / 0.664 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1471, allocations: 4 kB / 0.664 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1471, allocations: 0 / 0.664 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.1478, allocations: 0.6215 MB / 0.6646 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.148, allocations: 128.8 kB / 0.6647 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.148, allocations: 8 kB / 0.6647 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.1483, allocations: 11.98 kB / 0.6647 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.1483, allocations: 23.91 kB / 0.6648 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1483, allocations: 8 kB / 0.6648 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002213/0.1486, allocations: 188.5 kB / 0.6649 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1486, allocations: 0 / 0.6649 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004029/0.149, allocations: 92 kB / 0.665 GB, free: 3.078 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000967/0.15, allocations: 1.16 MB / 0.6662 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009237/0.1509, allocations: 0.5377 MB / 0.6667 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1509, allocations: 4.125 kB / 0.6667 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.1511, allocations: 147.9 kB / 0.6668 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.1516, allocations: 58.27 kB / 0.6669 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.1566, allocations: 3.701 MB / 0.6705 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.157, allocations: 0.7912 MB / 0.6713 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.1572, allocations: 78.91 kB / 0.6714 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.1573, allocations: 83.39 kB / 0.6714 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1573, allocations: 0 / 0.6714 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4145/0.5719, allocations: 6.93 MB / 0.6782 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.994/10.57, allocations: 9.734 kB / 0.6782 GB, free: 5.508 MB / 0.5137 GB (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/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)