Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.GeneratorLoadGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",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.003687/0.003687, allocations: 100.5 kB / 15.87 MB, free: 6.312 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.0009532/0.0009533, allocations: 198.2 kB / 16.79 MB, free: 6.242 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.229/1.229, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6338/0.6338, allocations: 115.3 MB / 405.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 66.42 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1245, allocations: 76.18 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004023/0.1286, allocations: 2.922 MB / 0.5587 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.131, allocations: 1.667 MB / 0.5603 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.1311, allocations: 4 kB / 0.5603 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.1318, allocations: 211.3 kB / 0.5605 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.1323, allocations: 167.3 kB / 0.5607 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.1328, allocations: 207.5 kB / 0.5609 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.1332, allocations: 430.8 kB / 0.5613 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.1336, allocations: 170.2 kB / 0.5615 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.1338, allocations: 115.5 kB / 0.5616 GB, free: 4.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.1341, allocations: 147.5 kB / 0.5617 GB, free: 4.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.1341, allocations: 16 kB / 0.5617 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004623/0.1346, allocations: 303.4 kB / 0.562 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/0.1347, allocations: 79.8 kB / 0.5621 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1348, allocations: 111.4 kB / 0.5622 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.1353, allocations: 426.9 kB / 0.5626 GB, free: 3.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1353, allocations: 0 / 0.5626 GB, free: 3.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1353, allocations: 0 / 0.5626 GB, free: 3.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1354, allocations: 4 kB / 0.5626 GB, free: 3.777 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007693/0.1361, allocations: 0.5419 MB / 0.5631 GB, free: 3.184 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1362, allocations: 8.031 kB / 0.5631 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.1362, allocations: 58.72 kB / 0.5632 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/0.1369, allocations: 88.55 kB / 0.5633 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.1371, allocations: 269.2 kB / 0.5635 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1372, allocations: 20.73 kB / 0.5636 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.1372, allocations: 24.38 kB / 0.5636 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.1378, allocations: 374.4 kB / 0.5639 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1378, allocations: 0 / 0.5639 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.1378, allocations: 12 kB / 0.564 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.1379, allocations: 24.31 kB / 0.564 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.1384, allocations: 324.6 kB / 0.5643 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.14, allocations: 1.72 MB / 0.566 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.1406, allocations: 333.1 kB / 0.5663 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.1409, allocations: 149.6 kB / 0.5664 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.141, allocations: 92.94 kB / 0.5665 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.141, allocations: 34.56 kB / 0.5665 GB, free: 15.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.303e-06/0.141, allocations: 4 kB / 0.5666 GB, free: 15.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001206/0.1423, allocations: 0.5898 MB / 0.5671 GB, free: 14.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.1423, allocations: 81.11 kB / 0.5672 GB, free: 14.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1425, allocations: 212.5 kB / 0.5674 GB, free: 14.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1425, allocations: 29.7 kB / 0.5674 GB, free: 14.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.1426, allocations: 167.8 kB / 0.5676 GB, free: 14.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.1427, allocations: 74.98 kB / 0.5677 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.1427, allocations: 57.88 kB / 0.5677 GB, free: 14.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.1428, allocations: 326.8 kB / 0.568 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.1431, allocations: 141.9 kB / 0.5682 GB, free: 13.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.1434, allocations: 203.3 kB / 0.5684 GB, free: 13.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.1439, allocations: 369.9 kB / 0.5687 GB, free: 13.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1439, allocations: 0 / 0.5687 GB, free: 13.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007045/0.1446, allocations: 427.8 kB / 0.5691 GB, free: 12.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1446, allocations: 8 kB / 0.5691 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1446, allocations: 0 / 0.5691 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.1448, allocations: 44.81 kB / 0.5692 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1451, allocations: 67.89 kB / 0.5692 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.1463, allocations: 1.501 MB / 0.5707 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.1465, allocations: 27.98 kB / 0.5707 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1466, allocations: 23.98 kB / 0.5708 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002797/0.1468, allocations: 232.7 kB / 0.571 GB, free: 10.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002503/0.1471, allocations: 207.8 kB / 0.5712 GB, free: 10.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004748/0.1476, allocations: 352.9 kB / 0.5715 GB, free: 9.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.1476, allocations: 0 / 0.5715 GB, free: 9.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006913/0.1483, allocations: 411.4 kB / 0.5719 GB, free: 9.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.1483, allocations: 8 kB / 0.5719 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1483, allocations: 4 kB / 0.5719 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.1484, allocations: 45.2 kB / 0.572 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.1487, allocations: 67.88 kB / 0.572 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.1498, allocations: 1.493 MB / 0.5735 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.15, allocations: 27.83 kB / 0.5735 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.15, allocations: 11.98 kB / 0.5735 GB, free: 7.746 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.1501, allocations: 204.1 kB / 0.5737 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.1502, allocations: 15.81 kB / 0.5737 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006294/0.1508, allocations: 360 kB / 0.5741 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1509, allocations: 7.938 kB / 0.5741 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1509, allocations: 0 / 0.5741 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1509, allocations: 7.875 kB / 0.5741 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.1521, allocations: 0.9534 MB / 0.575 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1522, allocations: 4 kB / 0.575 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.1524, allocations: 51.89 kB / 0.5751 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.1525, allocations: 37.05 kB / 0.5751 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1525, allocations: 8 kB / 0.5751 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009583/0.1535, allocations: 1.426 MB / 0.5765 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1535, allocations: 0 / 0.5765 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.1541, allocations: 0.5351 MB / 0.577 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1543, allocations: 124.7 kB / 0.5771 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.1543, allocations: 8 kB / 0.5772 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.1545, allocations: 23.97 kB / 0.5772 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.1546, allocations: 23.86 kB / 0.5772 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1546, allocations: 12 kB / 0.5772 GB, free: 3.676 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1548, allocations: 158.8 kB / 0.5774 GB, free: 3.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1548, allocations: 0 / 0.5774 GB, free: 3.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005191/0.1553, allocations: 108 kB / 0.5775 GB, free: 3.414 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 (21): * Single equations (assignments): 20 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008965/0.1562, allocations: 1.084 MB / 0.5785 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.1574, allocations: 0.7326 MB / 0.5792 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1574, allocations: 0 / 0.5792 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.1577, allocations: 262.5 kB / 0.5795 GB, free: 1.258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.1582, allocations: 36.61 kB / 0.5795 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1927/0.3509, allocations: 3.051 MB / 0.5825 GB, free: 30.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.3511, allocations: 0.7685 MB / 0.5833 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.3513, allocations: 87.53 kB / 0.5833 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3515, allocations: 67.19 kB / 0.5834 GB, free: 29.42 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3515, allocations: 3.75 kB / 0.5834 GB, free: 29.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.3677, allocations: 5.294 MB / 0.5886 GB, free: 29.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.3679, allocations: 234.3 kB / 0.5888 GB, free: 28.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.03, allocations: 3.109 kB / 0.5888 GB, free: 28.86 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)