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.001111/0.001111, allocations: 111.9 kB / 16.41 MB, free: 6.492 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.001126/0.001126, allocations: 189.2 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.191/1.191, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.657/0.657, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 67.97 kB / 0.5572 GB, free: 32.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1133, allocations: 76.18 MB / 0.6316 GB, free: 5.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004299/0.1176, allocations: 3.26 MB / 0.6348 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.1206, allocations: 2.007 MB / 0.6367 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1207, allocations: 7.938 kB / 0.6367 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008537/0.1216, allocations: 290.8 kB / 0.637 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.1221, allocations: 231 kB / 0.6372 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006517/0.1228, allocations: 287.3 kB / 0.6375 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.1233, allocations: 414.7 kB / 0.6379 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.1236, allocations: 199 kB / 0.6381 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.1238, allocations: 171.4 kB / 0.6383 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.1242, allocations: 203.3 kB / 0.6384 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.1242, allocations: 24 kB / 0.6385 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.1246, allocations: 259.5 kB / 0.6387 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1248, allocations: 123.6 kB / 0.6388 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1249, allocations: 143.3 kB / 0.639 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005678/0.1255, allocations: 495.4 kB / 0.6394 GB, free: 12.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1255, allocations: 0 / 0.6394 GB, free: 12.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1255, allocations: 0 / 0.6394 GB, free: 12.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.1255, allocations: 0 / 0.6394 GB, free: 12.99 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.00113/0.1267, allocations: 0.6004 MB / 0.64 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.1267, allocations: 12.03 kB / 0.64 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.808e-05/0.1268, allocations: 66.7 kB / 0.6401 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009359/0.1278, allocations: 112.4 kB / 0.6402 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.1281, allocations: 284.4 kB / 0.6405 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1282, allocations: 20.92 kB / 0.6405 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.1283, allocations: 40.48 kB / 0.6405 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.129, allocations: 453.1 kB / 0.641 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.129, allocations: 4 kB / 0.641 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.129, allocations: 11.94 kB / 0.641 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.1292, allocations: 36.53 kB / 0.641 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.1298, allocations: 365.9 kB / 0.6414 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.1322, allocations: 2.218 MB / 0.6435 GB, free: 8.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.1326, allocations: 270.4 kB / 0.6438 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.1328, allocations: 164.8 kB / 0.644 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1328, allocations: 7.984 kB / 0.644 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1329, allocations: 30.56 kB / 0.644 GB, free: 7.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.1329, allocations: 0 / 0.644 GB, free: 7.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001673/0.1345, allocations: 1.059 MB / 0.645 GB, free: 6.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1346, allocations: 51.41 kB / 0.6451 GB, free: 6.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1349, allocations: 260.8 kB / 0.6453 GB, free: 6.531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1349, allocations: 29.7 kB / 0.6454 GB, free: 6.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.135, allocations: 188 kB / 0.6455 GB, free: 6.305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/0.1351, allocations: 86.75 kB / 0.6456 GB, free: 6.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.1352, allocations: 81.55 kB / 0.6457 GB, free: 6.133 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.1353, allocations: 334.8 kB / 0.646 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.1356, allocations: 155.9 kB / 0.6462 GB, free: 5.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.1359, allocations: 245.6 kB / 0.6464 GB, free: 5.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/0.1364, allocations: 406.8 kB / 0.6468 GB, free: 4.941 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1365, allocations: 3.938 kB / 0.6468 GB, free: 4.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001095/0.1376, allocations: 0.6002 MB / 0.6474 GB, free: 4.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1376, allocations: 8.25 kB / 0.6474 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1376, allocations: 8 kB / 0.6474 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/0.1382, allocations: 188.6 kB / 0.6476 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.1386, allocations: 63.89 kB / 0.6476 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.1412, allocations: 2.499 MB / 0.6501 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.1415, allocations: 32.06 kB / 0.6501 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.1416, allocations: 12 kB / 0.6501 GB, free: 1.383 MB / 494.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 (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.0001544/0.1417, allocations: 177.1 kB / 0.6503 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.1418, allocations: 19.81 kB / 0.6503 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.1423, allocations: 357.8 kB / 0.6506 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1423, allocations: 4 kB / 0.6506 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1423, allocations: 4 kB / 0.6506 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1424, allocations: 3.984 kB / 0.6507 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/0.1433, allocations: 0.807 MB / 0.6514 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1433, allocations: 4 kB / 0.6514 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.1437, allocations: 71.88 kB / 0.6515 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1437, allocations: 4 kB / 0.6515 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1437, allocations: 4 kB / 0.6515 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1438, allocations: 7.938 kB / 0.6515 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1438, allocations: 8 kB / 0.6515 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.1444, allocations: 0.6104 MB / 0.6521 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1446, allocations: 128.8 kB / 0.6523 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.1446, allocations: 7.984 kB / 0.6523 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.1448, allocations: 19.92 kB / 0.6523 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1449, allocations: 23.92 kB / 0.6523 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1449, allocations: 4 kB / 0.6523 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002031/0.1451, allocations: 188.5 kB / 0.6525 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1451, allocations: 0 / 0.6525 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003942/0.1455, allocations: 88 kB / 0.6526 GB, free: 14.75 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.0009518/0.1465, allocations: 1.153 MB / 0.6537 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008588/0.1474, allocations: 0.5414 MB / 0.6542 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1474, allocations: 3.938 kB / 0.6542 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.1476, allocations: 147.9 kB / 0.6544 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.148, allocations: 51.36 kB / 0.6544 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/0.1529, allocations: 3.703 MB / 0.658 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1532, allocations: 0.7912 MB / 0.6588 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000218/0.1535, allocations: 82.89 kB / 0.6589 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.1536, allocations: 91.28 kB / 0.659 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.1536, allocations: 0 / 0.659 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1792, allocations: 6.918 MB / 0.6657 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.689/8.869, allocations: 6.031 kB / 0.6657 GB, free: 1.184 MB / 0.4981 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)