Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 118.8 kB / 17.08 MB, free: 6.012 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.001183/0.001183, allocations: 191 kB / 18.01 MB, free: 5.094 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.411/1.411, allocations: 222.9 MB / 241.7 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.7657/0.7657, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 73.14 kB / 0.5583 GB, free: 32.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1835, allocations: 76.18 MB / 0.6327 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01453/0.1981, allocations: 10.88 MB / 0.6434 GB, free: 9.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.2134, allocations: 8.803 MB / 0.652 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.2154, allocations: 59.62 kB / 0.652 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005048/0.2205, allocations: 1.67 MB / 0.6536 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005554/0.226, allocations: 1.537 MB / 0.6551 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.2288, allocations: 0.6717 MB / 0.6558 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004234/0.233, allocations: 2.285 MB / 0.658 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.2355, allocations: 1.38 MB / 0.6594 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.2377, allocations: 1.004 MB / 0.6604 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.2399, allocations: 1.019 MB / 0.6614 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005656/0.2404, allocations: 140 kB / 0.6615 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.2427, allocations: 0.7994 MB / 0.6623 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009433/0.2437, allocations: 0.5725 MB / 0.6628 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.2457, allocations: 0.8861 MB / 0.6637 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.2503, allocations: 2.57 MB / 0.6662 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2503, allocations: 0 / 0.6662 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2503, allocations: 4 kB / 0.6662 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001067/0.2504, allocations: 0 / 0.6662 GB, free: 1.887 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005245/0.2557, allocations: 2.018 MB / 0.6682 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.2557, allocations: 8.031 kB / 0.6682 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.267, allocations: 2.05 MB / 0.6702 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.2699, allocations: 1.216 MB / 0.6714 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/0.27, allocations: 82.7 kB / 0.6715 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004496/0.2705, allocations: 120.1 kB / 0.6716 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006286/0.2768, allocations: 2.474 MB / 0.674 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.927e-05/0.2769, allocations: 15.84 kB / 0.674 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/0.2771, allocations: 51.98 kB / 0.6741 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000363/0.2775, allocations: 130.1 kB / 0.6742 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007484/0.285, allocations: 2.541 MB / 0.6767 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01414/0.2991, allocations: 10.03 MB / 0.6865 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006181/0.3053, allocations: 1.952 MB / 0.6884 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/0.3081, allocations: 0.9699 MB / 0.6893 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.035e-05/0.3082, allocations: 8.375 kB / 0.6893 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3082, allocations: 39 kB / 0.6894 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 3.356e-06/0.3082, allocations: 0 / 0.6894 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.03114/0.3394, allocations: 8.726 MB / 0.6979 GB, free: 416 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3394, allocations: 60.06 kB / 0.6979 GB, free: 344 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.3411, allocations: 1.101 MB / 0.699 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.3412, allocations: 41.7 kB / 0.699 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000543/0.3418, allocations: 0.7379 MB / 0.6998 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.3421, allocations: 283.9 kB / 0.7 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004082/0.3425, allocations: 202.4 kB / 0.7002 GB, free: 13.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3426, allocations: 334 kB / 0.7006 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/0.3456, allocations: 1.079 MB / 0.7016 GB, free: 12.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00312/0.3487, allocations: 1.301 MB / 0.7029 GB, free: 11.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006058/0.3548, allocations: 2.386 MB / 0.7052 GB, free: 8.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.3548, allocations: 4 kB / 0.7052 GB, free: 8.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008906/0.3637, allocations: 3.276 MB / 0.7084 GB, free: 5.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.3638, allocations: 8 kB / 0.7084 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3638, allocations: 8 kB / 0.7084 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/0.3665, allocations: 0.784 MB / 0.7092 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.3685, allocations: 423.3 kB / 0.7096 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/0.3848, allocations: 15.91 MB / 0.7251 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.3873, allocations: 291.5 kB / 0.7254 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.3875, allocations: 51.97 kB / 0.7255 GB, free: 2.719 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009225/0.3884, allocations: 397.5 kB / 0.7258 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/0.3889, allocations: 142.3 kB / 0.726 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008798/0.3977, allocations: 3.202 MB / 0.7291 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.3977, allocations: 11.94 kB / 0.7291 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.651e-05/0.3978, allocations: 8 kB / 0.7291 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.3978, allocations: 3.984 kB / 0.7291 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.4098, allocations: 4.905 MB / 0.7339 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.4098, allocations: 7.938 kB / 0.7339 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.4115, allocations: 359.7 kB / 0.7343 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.4139, allocations: 0.6935 MB / 0.7349 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.414, allocations: 35.95 kB / 0.735 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.4289, allocations: 15.52 MB / 0.7501 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.4289, allocations: 7.969 kB / 0.7501 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008423/0.4373, allocations: 3.043 MB / 0.7531 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008561/0.4382, allocations: 379.2 kB / 0.7535 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004118/0.4387, allocations: 27.92 kB / 0.7535 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/0.4408, allocations: 291.5 kB / 0.7538 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/0.4411, allocations: 84.48 kB / 0.7539 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.4412, allocations: 35.97 kB / 0.7539 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001234/0.4425, allocations: 0.7404 MB / 0.7546 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4425, allocations: 0 / 0.7546 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001849/0.4443, allocations: 432 kB / 0.755 GB, free: 3.008 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003295/0.4447, allocations: 131.1 kB / 0.7552 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.4179/0.8626, allocations: 3.619 MB / 0.7587 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.8627, allocations: 0.8438 kB / 0.7587 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005521/0.8682, allocations: 2.368 MB / 0.761 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.8708, allocations: 0.5164 MB / 0.7615 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00871/0.8795, allocations: 3.543 MB / 0.765 GB, free: 114.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.8812, allocations: 1.39 MB / 0.7663 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/0.8819, allocations: 126.5 kB / 0.7664 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.362e-06/0.8819, allocations: 0 / 0.7664 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.06888/0.9508, allocations: 75.1 MB / 0.8398 GB, free: 53.32 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)