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.0007753/0.0007752, allocations: 92.95 kB / 16.02 MB, free: 84 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.0007783/0.0007784, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.274/1.274, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6294/0.6294, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002795, allocations: 8 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 77.54 MB / 0.56 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002892/0.1278, allocations: 2.56 MB / 0.5625 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1301, allocations: 1.629 MB / 0.5641 GB, free: 4.695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1302, allocations: 4 kB / 0.5641 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.1304, allocations: 39.7 kB / 0.5642 GB, free: 4.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.1308, allocations: 159.4 kB / 0.5643 GB, free: 4.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.1313, allocations: 203.5 kB / 0.5645 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.1318, allocations: 438.7 kB / 0.5649 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.1325, allocations: 390.5 kB / 0.5653 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.1327, allocations: 103.5 kB / 0.5654 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.1329, allocations: 139.5 kB / 0.5655 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.133, allocations: 8 kB / 0.5656 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.1334, allocations: 307.4 kB / 0.5659 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.1335, allocations: 79.72 kB / 0.5659 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.1336, allocations: 121.2 kB / 0.566 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.1341, allocations: 418.9 kB / 0.5664 GB, free: 2.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1341, allocations: 0 / 0.5664 GB, free: 2.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1341, allocations: 0 / 0.5664 GB, free: 2.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1341, allocations: 0 / 0.5664 GB, free: 2.309 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.0007761/0.1349, allocations: 0.5125 MB / 0.5669 GB, free: 1.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.135, allocations: 12.02 kB / 0.567 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.533e-05/0.135, allocations: 54.73 kB / 0.567 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000674/0.1357, allocations: 92.55 kB / 0.5671 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.136, allocations: 265.2 kB / 0.5673 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1361, allocations: 12.75 kB / 0.5674 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.1361, allocations: 28.36 kB / 0.5674 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.1367, allocations: 382.4 kB / 0.5678 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1367, allocations: 3.984 kB / 0.5678 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.1368, allocations: 8 kB / 0.5678 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.1368, allocations: 24.31 kB / 0.5678 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.1374, allocations: 332.6 kB / 0.5681 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.139, allocations: 1.728 MB / 0.5698 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.1397, allocations: 333.1 kB / 0.5701 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.14, allocations: 161.6 kB / 0.5703 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.1401, allocations: 81.11 kB / 0.5703 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1401, allocations: 38.55 kB / 0.5704 GB, free: 13.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.1401, allocations: 0 / 0.5704 GB, free: 13.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001282/0.1414, allocations: 0.6094 MB / 0.571 GB, free: 13.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1415, allocations: 89.05 kB / 0.5711 GB, free: 13.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.1417, allocations: 204.4 kB / 0.5713 GB, free: 13.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1417, allocations: 29.7 kB / 0.5713 GB, free: 12.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.1418, allocations: 163.8 kB / 0.5714 GB, free: 12.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.1418, allocations: 74.95 kB / 0.5715 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.1419, allocations: 29.7 kB / 0.5715 GB, free: 12.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.142, allocations: 330.8 kB / 0.5719 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.1422, allocations: 132.5 kB / 0.572 GB, free: 12.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.1425, allocations: 219.3 kB / 0.5722 GB, free: 11.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.1431, allocations: 377.9 kB / 0.5725 GB, free: 11.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1431, allocations: 4 kB / 0.5726 GB, free: 11.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007255/0.1438, allocations: 435.8 kB / 0.573 GB, free: 11.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.429e-05/0.1439, allocations: 166.6 kB / 0.5731 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1439, allocations: 4 kB / 0.5731 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/0.1441, allocations: 48.75 kB / 0.5732 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.1444, allocations: 71.89 kB / 0.5732 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.1456, allocations: 1.489 MB / 0.5747 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1458, allocations: 39.88 kB / 0.5747 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.1459, allocations: 19.98 kB / 0.5748 GB, free: 9.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.1459, allocations: 7.938 kB / 0.5748 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006482/0.1465, allocations: 368.3 kB / 0.5751 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1466, allocations: 4 kB / 0.5751 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001167/0.1467, allocations: 45.16 kB / 0.5752 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.1469, allocations: 71.89 kB / 0.5752 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.148, allocations: 1.485 MB / 0.5767 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.1482, allocations: 27.92 kB / 0.5767 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1482, allocations: 11.98 kB / 0.5767 GB, free: 6.973 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.0001594/0.1484, allocations: 239 kB / 0.5769 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.1484, allocations: 19.72 kB / 0.577 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.1491, allocations: 364.1 kB / 0.5773 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1491, allocations: 0 / 0.5773 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1491, allocations: 8 kB / 0.5773 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1491, allocations: 7.922 kB / 0.5773 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.1504, allocations: 0.9599 MB / 0.5783 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1504, allocations: 7.984 kB / 0.5783 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.1507, allocations: 51.91 kB / 0.5783 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.1508, allocations: 45.03 kB / 0.5784 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.1508, allocations: 8 kB / 0.5784 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009339/0.1518, allocations: 1.402 MB / 0.5797 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1518, allocations: 8.141 kB / 0.5797 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006498/0.1524, allocations: 0.5486 MB / 0.5803 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1525, allocations: 128.7 kB / 0.5804 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1526, allocations: 8 kB / 0.5804 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.1528, allocations: 27.97 kB / 0.5804 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.1529, allocations: 23.91 kB / 0.5805 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1529, allocations: 12 kB / 0.5805 GB, free: 2.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.153, allocations: 158.7 kB / 0.5806 GB, free: 2.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.153, allocations: 0 / 0.5806 GB, free: 2.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005249/0.1536, allocations: 104 kB / 0.5807 GB, free: 2.578 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.0008741/0.1544, allocations: 1.087 MB / 0.5818 GB, free: 1.441 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.1556, allocations: 0.7528 MB / 0.5825 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1556, allocations: 0 / 0.5825 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.156, allocations: 275.1 kB / 0.5828 GB, free: 392 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.1564, allocations: 39.92 kB / 0.5828 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2159/0.3723, allocations: 3.097 MB / 0.5858 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3726, allocations: 0.7691 MB / 0.5866 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.3728, allocations: 85.89 kB / 0.5867 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3729, allocations: 69.55 kB / 0.5867 GB, free: 28.05 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3729, allocations: 0 / 0.5867 GB, free: 28.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.59/2.963, allocations: 5.154 MB / 0.5918 GB, free: 27.81 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/2.963, allocations: 231 kB / 0.592 GB, free: 27.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/5.072, allocations: 4 kB / 0.592 GB, free: 27.55 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)