Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.001193/0.001193, allocations: 109.5 kB / 16.41 MB, free: 6.496 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.001188/0.001188, allocations: 191.9 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.182/1.182, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.641/0.641, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 65.59 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1115, allocations: 76.19 MB / 0.6316 GB, free: 5.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.00522/0.1167, allocations: 4.365 MB / 0.6358 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004005/0.1207, allocations: 3.257 MB / 0.639 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1209, allocations: 11.94 kB / 0.639 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.1222, allocations: 0.5134 MB / 0.6395 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006902/0.1229, allocations: 407.1 kB / 0.6399 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.1234, allocations: 247.4 kB / 0.6402 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.124, allocations: 0.5917 MB / 0.6407 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005715/0.1246, allocations: 0.5198 MB / 0.6413 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.1249, allocations: 299.1 kB / 0.6415 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.1253, allocations: 271 kB / 0.6418 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.1253, allocations: 44 kB / 0.6418 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.1258, allocations: 291.5 kB / 0.6421 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1259, allocations: 171.6 kB / 0.6423 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.1261, allocations: 222.9 kB / 0.6425 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.1268, allocations: 0.7992 MB / 0.6433 GB, free: 9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1269, allocations: 0 / 0.6433 GB, free: 9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1269, allocations: 0 / 0.6433 GB, free: 9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1269, allocations: 0 / 0.6433 GB, free: 9 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001084/0.128, allocations: 0.7675 MB / 0.644 GB, free: 8.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.128, allocations: 8.031 kB / 0.644 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.562e-05/0.1281, allocations: 74.72 kB / 0.6441 GB, free: 8.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.1306, allocations: 0.675 MB / 0.6448 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.1312, allocations: 463.7 kB / 0.6452 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1312, allocations: 21.03 kB / 0.6452 GB, free: 6.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.1313, allocations: 35.94 kB / 0.6453 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.1327, allocations: 0.7825 MB / 0.646 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1327, allocations: 0 / 0.646 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.1328, allocations: 12 kB / 0.646 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.1329, allocations: 44.61 kB / 0.6461 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.1347, allocations: 0.8648 MB / 0.6469 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.138, allocations: 2.819 MB / 0.6497 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.1395, allocations: 0.5097 MB / 0.6502 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.1401, allocations: 256.6 kB / 0.6504 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-05/0.1402, allocations: 85.09 kB / 0.6505 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1402, allocations: 50.44 kB / 0.6505 GB, free: 1.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1402, allocations: 0 / 0.6505 GB, free: 1.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.01069/0.1509, allocations: 3.058 MB / 0.6535 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.151, allocations: 51.41 kB / 0.6536 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.1514, allocations: 413.5 kB / 0.654 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.1514, allocations: 25.7 kB / 0.654 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1516, allocations: 243.8 kB / 0.6542 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.1517, allocations: 74.81 kB / 0.6543 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.1518, allocations: 73.67 kB / 0.6544 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1519, allocations: 342.8 kB / 0.6547 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000839/0.1528, allocations: 364.4 kB / 0.655 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008897/0.1537, allocations: 425.7 kB / 0.6555 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.1554, allocations: 0.756 MB / 0.6562 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1554, allocations: 0 / 0.6562 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004583/0.16, allocations: 1.5 MB / 0.6577 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.16, allocations: 9.719 kB / 0.6577 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.16, allocations: 0 / 0.6577 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/0.1634, allocations: 0.7741 MB / 0.6584 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.164, allocations: 127.8 kB / 0.6585 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006419/0.1704, allocations: 4.841 MB / 0.6633 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/0.1711, allocations: 107.8 kB / 0.6634 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.1712, allocations: 19.98 kB / 0.6634 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001053/0.1722, allocations: 0.531 MB / 0.6639 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009043/0.1731, allocations: 428 kB / 0.6643 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00163/0.1748, allocations: 0.7256 MB / 0.665 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.1748, allocations: 0 / 0.665 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.003912/0.1787, allocations: 1.259 MB / 0.6663 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1787, allocations: 7.938 kB / 0.6663 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1787, allocations: 12.12 kB / 0.6663 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.1809, allocations: 0.4923 MB / 0.6668 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.1815, allocations: 143.8 kB / 0.6669 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.1847, allocations: 2.604 MB / 0.6694 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.1854, allocations: 111.9 kB / 0.6695 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.1854, allocations: 19.98 kB / 0.6696 GB, free: 13.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.1856, allocations: 203.6 kB / 0.6698 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.1857, allocations: 31.62 kB / 0.6698 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.1898, allocations: 1.36 MB / 0.6711 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1898, allocations: 4 kB / 0.6711 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.1898, allocations: 0 / 0.6711 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1898, allocations: 3.984 kB / 0.6711 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/0.1944, allocations: 1.993 MB / 0.6731 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1945, allocations: 4 kB / 0.6731 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.1948, allocations: 79.83 kB / 0.6731 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002803/0.1976, allocations: 0.7078 MB / 0.6738 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.1977, allocations: 11.92 kB / 0.6739 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005406/0.2031, allocations: 4.663 MB / 0.6784 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2031, allocations: 4.062 kB / 0.6784 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/0.2069, allocations: 1.359 MB / 0.6797 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.2071, allocations: 160.7 kB / 0.6799 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.2072, allocations: 15.83 kB / 0.6799 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.2077, allocations: 83.86 kB / 0.68 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.2078, allocations: 23.97 kB / 0.68 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.2079, allocations: 4 kB / 0.68 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003445/0.2082, allocations: 315.1 kB / 0.6803 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2082, allocations: 4 kB / 0.6803 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007303/0.209, allocations: 196 kB / 0.6805 GB, free: 1.383 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * 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: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004233/0.2132, allocations: 1.917 MB / 0.6824 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003309/0.2165, allocations: 1.578 MB / 0.6839 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2166, allocations: 0 / 0.6839 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.2176, allocations: 0.6239 MB / 0.6845 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.2182, allocations: 130.8 kB / 0.6846 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.2317, allocations: 6.527 MB / 0.691 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.2322, allocations: 0.9093 MB / 0.6919 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004445/0.2326, allocations: 155.2 kB / 0.6921 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.2328, allocations: 135.4 kB / 0.6922 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.2329, allocations: 0 / 0.6922 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/0.2718, allocations: 16.43 MB / 0.7082 GB, free: 4.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.25, allocations: 9.531 kB / 0.7082 GB, free: 4.898 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)