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: translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 116.9 kB / 17.08 MB, free: 5.965 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.0009959/0.0009959, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.228/1.228, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6855/0.6855, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.11 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1349, allocations: 76.19 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006229/0.1412, allocations: 4.359 MB / 0.637 GB, free: 8 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004813/0.146, allocations: 3.253 MB / 0.6402 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.1464, allocations: 15.88 kB / 0.6402 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.148, allocations: 0.5195 MB / 0.6407 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.1491, allocations: 398 kB / 0.6411 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.1498, allocations: 243.4 kB / 0.6413 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008272/0.1506, allocations: 0.5956 MB / 0.6419 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007143/0.1514, allocations: 0.5248 MB / 0.6424 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.1519, allocations: 295 kB / 0.6427 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.1524, allocations: 279 kB / 0.643 GB, free: 9.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.16e-05/0.1525, allocations: 40 kB / 0.643 GB, free: 9.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005817/0.1531, allocations: 287.5 kB / 0.6433 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.1533, allocations: 167.5 kB / 0.6434 GB, free: 9.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.1536, allocations: 230.9 kB / 0.6436 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009914/0.1546, allocations: 0.7906 MB / 0.6444 GB, free: 8.387 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1546, allocations: 0 / 0.6444 GB, free: 8.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.446e-05/0.1547, allocations: 8 kB / 0.6444 GB, free: 8.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.1547, allocations: 0 / 0.6444 GB, free: 8.379 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.001491/0.1562, allocations: 0.7674 MB / 0.6452 GB, free: 7.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1562, allocations: 8.031 kB / 0.6452 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.1592, allocations: 0.6789 MB / 0.6458 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.1599, allocations: 451.8 kB / 0.6463 GB, free: 6.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.16, allocations: 25.03 kB / 0.6463 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.1601, allocations: 36.11 kB / 0.6463 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.1617, allocations: 0.7825 MB / 0.6471 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.1617, allocations: 0 / 0.6471 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/0.1618, allocations: 15.98 kB / 0.6471 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.1619, allocations: 44.61 kB / 0.6472 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.164, allocations: 0.8725 MB / 0.648 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.1678, allocations: 2.808 MB / 0.6507 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.1696, allocations: 0.5136 MB / 0.6512 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007108/0.1703, allocations: 260.6 kB / 0.6515 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.1704, allocations: 85.09 kB / 0.6516 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1704, allocations: 38.56 kB / 0.6516 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.033e-06/0.1705, allocations: 0 / 0.6516 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.01185/0.1823, allocations: 3.068 MB / 0.6546 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1824, allocations: 55.41 kB / 0.6547 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.1829, allocations: 401.5 kB / 0.655 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.183, allocations: 33.69 kB / 0.6551 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.1831, allocations: 235.8 kB / 0.6553 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.1832, allocations: 78.81 kB / 0.6554 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.1834, allocations: 73.67 kB / 0.6555 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1836, allocations: 342.8 kB / 0.6558 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009618/0.1845, allocations: 364.4 kB / 0.6561 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.1855, allocations: 425.7 kB / 0.6565 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.1874, allocations: 0.756 MB / 0.6573 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1874, allocations: 0 / 0.6573 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004907/0.1924, allocations: 1.508 MB / 0.6587 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1924, allocations: 9.875 kB / 0.6588 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1924, allocations: 0 / 0.6588 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00337/0.1958, allocations: 0.7702 MB / 0.6595 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.1964, allocations: 131.8 kB / 0.6596 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006599/0.2031, allocations: 4.835 MB / 0.6643 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008298/0.2039, allocations: 111.9 kB / 0.6645 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.204, allocations: 27.97 kB / 0.6645 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001224/0.2052, allocations: 0.5309 MB / 0.665 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009811/0.2062, allocations: 420.1 kB / 0.6654 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001818/0.2081, allocations: 0.7256 MB / 0.6661 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.2081, allocations: 0 / 0.6661 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004104/0.2122, allocations: 1.27 MB / 0.6674 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2122, allocations: 4 kB / 0.6674 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2122, allocations: 4 kB / 0.6674 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/0.2144, allocations: 0.5002 MB / 0.6678 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.2152, allocations: 139.7 kB / 0.668 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/0.2187, allocations: 2.604 MB / 0.6705 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007873/0.2195, allocations: 107.8 kB / 0.6706 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.2195, allocations: 15.98 kB / 0.6706 GB, free: 12.48 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.0001929/0.2197, allocations: 204.9 kB / 0.6708 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.2199, allocations: 31.62 kB / 0.6709 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/0.2242, allocations: 1.368 MB / 0.6722 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2242, allocations: 4 kB / 0.6722 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2242, allocations: 0 / 0.6722 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2242, allocations: 3.984 kB / 0.6722 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004911/0.2291, allocations: 1.994 MB / 0.6742 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2291, allocations: 0 / 0.6742 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.2295, allocations: 79.89 kB / 0.6742 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002873/0.2324, allocations: 0.7039 MB / 0.6749 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.2324, allocations: 15.92 kB / 0.6749 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005526/0.238, allocations: 4.674 MB / 0.6795 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.238, allocations: 0 / 0.6795 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004013/0.242, allocations: 1.349 MB / 0.6808 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.2423, allocations: 168.7 kB / 0.681 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/0.2423, allocations: 7.938 kB / 0.681 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/0.243, allocations: 79.86 kB / 0.6811 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.2431, allocations: 27.97 kB / 0.6811 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.2431, allocations: 15.98 kB / 0.6811 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004153/0.2435, allocations: 303.1 kB / 0.6814 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2435, allocations: 4 kB / 0.6814 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008196/0.2444, allocations: 204 kB / 0.6816 GB, free: 0.8359 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.000187/0.2446, allocations: 107.2 kB / 0.6817 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003686/0.2483, allocations: 1.574 MB / 0.6832 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2483, allocations: 0 / 0.6832 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.2495, allocations: 0.6267 MB / 0.6838 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.2502, allocations: 123.8 kB / 0.684 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.2521, allocations: 1.081 MB / 0.685 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.2526, allocations: 0.8976 MB / 0.6859 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.2528, allocations: 43.41 kB / 0.6859 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.2528, allocations: 0 / 0.6859 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.01549/0.2683, allocations: 12.55 MB / 0.6982 GB, free: 15.72 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)