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.0009258/0.0009257, allocations: 109.4 kB / 16.41 MB, free: 6.027 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.0008983/0.0008983, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6469/0.6469, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 72.66 kB / 0.5572 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1169, allocations: 76.17 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003758/0.1207, allocations: 2.876 MB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1231, allocations: 1.8 MB / 0.6361 GB, free: 212 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.1232, allocations: 11.94 kB / 0.6361 GB, free: 200 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.124, allocations: 235 kB / 0.6364 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.1244, allocations: 203 kB / 0.6366 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.1248, allocations: 227.4 kB / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.1251, allocations: 315 kB / 0.6371 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.1254, allocations: 174.3 kB / 0.6372 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1256, allocations: 127.5 kB / 0.6374 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1258, allocations: 147.5 kB / 0.6375 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.1258, allocations: 20 kB / 0.6375 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.1262, allocations: 279.5 kB / 0.6378 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-05/0.1263, allocations: 87.78 kB / 0.6379 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1264, allocations: 115.3 kB / 0.638 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.1269, allocations: 438.4 kB / 0.6384 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1269, allocations: 4 kB / 0.6384 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1269, allocations: 0 / 0.6384 GB, free: 13.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1269, allocations: 0 / 0.6384 GB, free: 13.87 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008147/0.1277, allocations: 0.5535 MB / 0.639 GB, free: 13.26 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1278, allocations: 8.031 kB / 0.639 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.1278, allocations: 54.73 kB / 0.639 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008322/0.1287, allocations: 120.5 kB / 0.6391 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.129, allocations: 259.3 kB / 0.6394 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.129, allocations: 16.75 kB / 0.6394 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.129, allocations: 20.36 kB / 0.6394 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.1296, allocations: 394.1 kB / 0.6398 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1297, allocations: 7.922 kB / 0.6398 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.1297, allocations: 12 kB / 0.6398 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.1298, allocations: 20.31 kB / 0.6398 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.1304, allocations: 344.6 kB / 0.6402 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.1321, allocations: 1.732 MB / 0.6418 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.1328, allocations: 325.1 kB / 0.6422 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.133, allocations: 145.6 kB / 0.6423 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.1332, allocations: 97.09 kB / 0.6424 GB, free: 9.488 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1332, allocations: 30.56 kB / 0.6424 GB, free: 9.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.1332, allocations: 0 / 0.6424 GB, free: 9.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001242/0.1345, allocations: 0.6093 MB / 0.643 GB, free: 8.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1345, allocations: 81.11 kB / 0.6431 GB, free: 8.715 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.1347, allocations: 211.7 kB / 0.6433 GB, free: 8.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1348, allocations: 29.64 kB / 0.6433 GB, free: 8.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.1349, allocations: 167.9 kB / 0.6435 GB, free: 8.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.1349, allocations: 63.02 kB / 0.6435 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.135, allocations: 65.88 kB / 0.6436 GB, free: 8.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1351, allocations: 334.8 kB / 0.6439 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.1354, allocations: 137.9 kB / 0.644 GB, free: 7.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.1358, allocations: 231.1 kB / 0.6443 GB, free: 7.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/0.1363, allocations: 372.2 kB / 0.6446 GB, free: 7.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1363, allocations: 4 kB / 0.6446 GB, free: 7.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007985/0.1371, allocations: 437.9 kB / 0.645 GB, free: 6.586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1372, allocations: 8 kB / 0.6451 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1372, allocations: 0 / 0.6451 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.1374, allocations: 44.81 kB / 0.6451 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.1377, allocations: 71.88 kB / 0.6452 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.1392, allocations: 1.623 MB / 0.6467 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.1395, allocations: 32.03 kB / 0.6468 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1396, allocations: 15.97 kB / 0.6468 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000351/0.1399, allocations: 240 kB / 0.647 GB, free: 4.406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000302/0.1402, allocations: 217.6 kB / 0.6472 GB, free: 4.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005299/0.1408, allocations: 364.9 kB / 0.6476 GB, free: 3.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.532e-06/0.1408, allocations: 0 / 0.6476 GB, free: 3.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007672/0.1415, allocations: 410 kB / 0.648 GB, free: 3.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.1416, allocations: 4 kB / 0.648 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1416, allocations: 4 kB / 0.648 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.1417, allocations: 48.77 kB / 0.648 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.142, allocations: 68.12 kB / 0.6481 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.1432, allocations: 1.611 MB / 0.6497 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.1435, allocations: 35.86 kB / 0.6497 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1435, allocations: 15.98 kB / 0.6497 GB, free: 1.418 MB / 494.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.0001378/0.1437, allocations: 200.1 kB / 0.6499 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.1438, allocations: 19.75 kB / 0.6499 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000638/0.1444, allocations: 356.9 kB / 0.6503 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1444, allocations: 4 kB / 0.6503 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1444, allocations: 0 / 0.6503 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1444, allocations: 0 / 0.6503 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.1457, allocations: 0.9702 MB / 0.6512 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1457, allocations: 7.938 kB / 0.6512 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.146, allocations: 47.95 kB / 0.6513 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.1461, allocations: 41.05 kB / 0.6513 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1461, allocations: 7.938 kB / 0.6513 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009842/0.1471, allocations: 1.508 MB / 0.6528 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1471, allocations: 4.031 kB / 0.6528 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.1478, allocations: 0.5373 MB / 0.6533 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1479, allocations: 124.9 kB / 0.6534 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.1479, allocations: 15.98 kB / 0.6535 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.1482, allocations: 27.97 kB / 0.6535 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.1482, allocations: 19.97 kB / 0.6535 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1483, allocations: 8 kB / 0.6535 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000166/0.1484, allocations: 163 kB / 0.6537 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.323e-06/0.1484, allocations: 0 / 0.6537 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005821/0.149, allocations: 111.9 kB / 0.6538 GB, free: 12.98 MB / 0.4981 GB 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.0009178/0.1499, allocations: 1.081 MB / 0.6548 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.1512, allocations: 0.7656 MB / 0.6556 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1512, allocations: 4 kB / 0.6556 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.1516, allocations: 274.5 kB / 0.6558 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.152, allocations: 30.22 kB / 0.6559 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.1556, allocations: 3.016 MB / 0.6588 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1559, allocations: 0.7678 MB / 0.6596 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002386/0.1562, allocations: 93.86 kB / 0.6596 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1563, allocations: 71.41 kB / 0.6597 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of SimCode: time 1.863e-06/0.1563, allocations: 0 / 0.6597 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.1806, allocations: 5.796 MB / 0.6654 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.85/9.031, allocations: 7.922 kB / 0.6654 GB, free: 0.9141 MB / 0.4981 GB (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)