Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",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.0009756/0.0009756, allocations: 107.7 kB / 16.4 MB, free: 6.473 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.0009529/0.0009529, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6504/0.6504, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 62.61 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1187, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003913/0.1227, allocations: 3.052 MB / 0.6345 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.1252, allocations: 1.912 MB / 0.6364 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1253, allocations: 4 kB / 0.6364 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008536/0.1262, allocations: 289.3 kB / 0.6367 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.1266, allocations: 199.1 kB / 0.6369 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.1271, allocations: 247.2 kB / 0.6371 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.1274, allocations: 318.9 kB / 0.6374 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.1278, allocations: 189 kB / 0.6376 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.1279, allocations: 135.5 kB / 0.6377 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1282, allocations: 151.4 kB / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.1282, allocations: 20 kB / 0.6379 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004862/0.1287, allocations: 399.2 kB / 0.6383 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.1288, allocations: 87.78 kB / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1289, allocations: 119.4 kB / 0.6385 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.1294, allocations: 487.5 kB / 0.6389 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1294, allocations: 4 kB / 0.6389 GB, free: 13.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1294, allocations: 0 / 0.6389 GB, free: 13.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1294, allocations: 0 / 0.6389 GB, free: 13.33 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007425/0.1302, allocations: 0.5536 MB / 0.6395 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1302, allocations: 12.03 kB / 0.6395 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.1303, allocations: 58.72 kB / 0.6396 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/0.131, allocations: 112.5 kB / 0.6397 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.1313, allocations: 271.7 kB / 0.6399 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1314, allocations: 12.81 kB / 0.6399 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.1314, allocations: 16.38 kB / 0.6399 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.1319, allocations: 361.2 kB / 0.6403 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1319, allocations: 3.984 kB / 0.6403 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1319, allocations: 12 kB / 0.6403 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/0.132, allocations: 20.42 kB / 0.6403 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.1324, allocations: 297.5 kB / 0.6406 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1342, allocations: 1.729 MB / 0.6423 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.1346, allocations: 330.1 kB / 0.6426 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1347, allocations: 105.6 kB / 0.6427 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.113e-05/0.1348, allocations: 85.11 kB / 0.6428 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1349, allocations: 38.56 kB / 0.6428 GB, free: 8.992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.1349, allocations: 4 kB / 0.6428 GB, free: 8.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002168/0.137, allocations: 0.9602 MB / 0.6438 GB, free: 7.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1371, allocations: 89.08 kB / 0.6439 GB, free: 7.887 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.1373, allocations: 211.7 kB / 0.6441 GB, free: 7.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1373, allocations: 29.7 kB / 0.6441 GB, free: 7.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.1374, allocations: 176 kB / 0.6443 GB, free: 7.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.1375, allocations: 78.86 kB / 0.6443 GB, free: 7.375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.1376, allocations: 61.61 kB / 0.6444 GB, free: 7.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.1376, allocations: 334.8 kB / 0.6447 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.1378, allocations: 131.9 kB / 0.6448 GB, free: 6.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.138, allocations: 202.6 kB / 0.645 GB, free: 6.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.1384, allocations: 372.7 kB / 0.6454 GB, free: 6.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1385, allocations: 0 / 0.6454 GB, free: 6.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000745/0.1392, allocations: 0.5042 MB / 0.6459 GB, free: 5.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1392, allocations: 8.312 kB / 0.6459 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1392, allocations: 4 kB / 0.6459 GB, free: 5.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.1397, allocations: 151.3 kB / 0.646 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.1399, allocations: 63.89 kB / 0.6461 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.1425, allocations: 4.19 MB / 0.6502 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.1427, allocations: 15.98 kB / 0.6502 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.1427, allocations: 19.98 kB / 0.6502 GB, free: 0.9023 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.1429, allocations: 161.8 kB / 0.6504 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.1429, allocations: 27.73 kB / 0.6504 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007472/0.1437, allocations: 481.7 kB / 0.6509 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1437, allocations: 4 kB / 0.6509 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1437, allocations: 4 kB / 0.6509 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1437, allocations: 0 / 0.6509 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.1451, allocations: 1.005 MB / 0.6519 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1452, allocations: 4 kB / 0.6519 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1453, allocations: 31.92 kB / 0.6519 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003545/0.1456, allocations: 143.6 kB / 0.652 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1457, allocations: 11.94 kB / 0.652 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.1481, allocations: 4.158 MB / 0.6561 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1481, allocations: 0 / 0.6561 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.1488, allocations: 0.6178 MB / 0.6567 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1489, allocations: 140.7 kB / 0.6568 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.149, allocations: 4 kB / 0.6568 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1492, allocations: 15.98 kB / 0.6569 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.1492, allocations: 27.91 kB / 0.6569 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.1493, allocations: 12 kB / 0.6569 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001311/0.1494, allocations: 156.1 kB / 0.657 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1494, allocations: 0 / 0.657 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004588/0.1499, allocations: 96 kB / 0.6571 GB, free: 9.293 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.1509, allocations: 1.187 MB / 0.6583 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007887/0.1517, allocations: 0.5872 MB / 0.6589 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1517, allocations: 128 / 0.6589 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.1521, allocations: 399.4 kB / 0.6592 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.1526, allocations: 51.89 kB / 0.6593 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.1563, allocations: 3.318 MB / 0.6625 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1566, allocations: 0.787 MB / 0.6633 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.1567, allocations: 62.25 kB / 0.6634 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1569, allocations: 71.41 kB / 0.6634 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1569, allocations: 0 / 0.6634 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.1834, allocations: 6.705 MB / 0.67 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.65, allocations: 8.625 kB / 0.67 GB, free: 11.93 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)