Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001112, allocations: 109.9 kB / 16.53 MB, free: 6.664 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.00112/0.00112, allocations: 195.2 kB / 17.44 MB, free: 6.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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6834/0.6834, allocations: 115.3 MB / 406.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 493.6 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3604, allocations: 76.17 MB / 0.5564 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01312/0.3735, allocations: 13.95 MB / 0.57 GB, free: 26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.3856, allocations: 9.389 MB / 0.5792 GB, free: 19.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.3872, allocations: 51.44 kB / 0.5792 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.3908, allocations: 1.561 MB / 0.5807 GB, free: 18.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.3952, allocations: 1.408 MB / 0.5821 GB, free: 17.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.3972, allocations: 0.6908 MB / 0.5828 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004196/0.4014, allocations: 3.173 MB / 0.5859 GB, free: 16.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.4038, allocations: 1.353 MB / 0.5872 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.4057, allocations: 0.9377 MB / 0.5881 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.4081, allocations: 1.131 MB / 0.5892 GB, free: 15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005973/0.4087, allocations: 98.66 kB / 0.5893 GB, free: 15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.4112, allocations: 0.8896 MB / 0.5902 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.4123, allocations: 0.5631 MB / 0.5907 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.4136, allocations: 0.8704 MB / 0.5916 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.4158, allocations: 2.177 MB / 0.5937 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4158, allocations: 0 / 0.5937 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.4158, allocations: 1.406 kB / 0.5937 GB, free: 12.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.4158, allocations: 0 / 0.5937 GB, free: 12.34 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00391/0.4198, allocations: 2.142 MB / 0.5958 GB, free: 10.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4198, allocations: 18.47 kB / 0.5958 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.4312, allocations: 2.081 MB / 0.5979 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/0.4345, allocations: 1.197 MB / 0.599 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.4346, allocations: 90.73 kB / 0.5991 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.4349, allocations: 124 kB / 0.5992 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004956/0.4399, allocations: 2.678 MB / 0.6019 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.4399, allocations: 15.91 kB / 0.6019 GB, free: 5.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.4401, allocations: 55.98 kB / 0.6019 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005483/0.4406, allocations: 178.1 kB / 0.6021 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006325/0.447, allocations: 2.795 MB / 0.6048 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/0.4616, allocations: 10.52 MB / 0.6151 GB, free: 7.656 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006256/0.4679, allocations: 2.519 MB / 0.6176 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002998/0.471, allocations: 1.288 MB / 0.6188 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.581e-05/0.4711, allocations: 13 kB / 0.6188 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.4711, allocations: 47.56 kB / 0.6189 GB, free: 3.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 3.166e-06/0.4711, allocations: 0 / 0.6189 GB, free: 3.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=131): time 0.0443/0.5154, allocations: 13.35 MB / 0.6319 GB, free: 6.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.5155, allocations: 76.7 kB / 0.632 GB, free: 6.051 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.5173, allocations: 1.121 MB / 0.6331 GB, free: 4.914 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.5176, allocations: 45.7 kB / 0.6331 GB, free: 4.863 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000553/0.5181, allocations: 0.7194 MB / 0.6338 GB, free: 4.137 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005458/0.5187, allocations: 449.4 kB / 0.6343 GB, free: 3.691 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006275/0.5193, allocations: 263.4 kB / 0.6345 GB, free: 3.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5195, allocations: 365.9 kB / 0.6349 GB, free: 3.062 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/0.5226, allocations: 1.343 MB / 0.6362 GB, free: 1.719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/0.5259, allocations: 1.592 MB / 0.6377 GB, free: 28 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006429/0.5323, allocations: 2.991 MB / 0.6406 GB, free: 12.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.5324, allocations: 7.938 kB / 0.6406 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01112/0.5435, allocations: 4.447 MB / 0.645 GB, free: 8.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.5435, allocations: 8 kB / 0.645 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.5436, allocations: 7.938 kB / 0.645 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005328/0.5489, allocations: 1.422 MB / 0.6464 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.5509, allocations: 443.2 kB / 0.6468 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02605/0.577, allocations: 24.54 MB / 0.6708 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.5797, allocations: 303.5 kB / 0.6711 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003342/0.5801, allocations: 68.03 kB / 0.6711 GB, free: 11.88 MB / 0.5137 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001115/0.5812, allocations: 438.3 kB / 0.6716 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005004/0.5817, allocations: 162 kB / 0.6717 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.5931, allocations: 4.453 MB / 0.6761 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.5932, allocations: 15.94 kB / 0.6761 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.475e-05/0.5932, allocations: 16.19 kB / 0.6761 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/0.5933, allocations: 7.969 kB / 0.6761 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.6088, allocations: 6.767 MB / 0.6827 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/0.6089, allocations: 16.05 kB / 0.6827 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.6106, allocations: 375.3 kB / 0.6831 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004885/0.6155, allocations: 1.311 MB / 0.6844 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/0.6157, allocations: 43.95 kB / 0.6844 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02281/0.6385, allocations: 23.5 MB / 0.7074 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.6385, allocations: 7.969 kB / 0.7074 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.6489, allocations: 4.192 MB / 0.7115 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.65, allocations: 466.9 kB / 0.7119 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005368/0.6506, allocations: 24.08 kB / 0.7119 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/0.6528, allocations: 303.5 kB / 0.7122 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004702/0.6533, allocations: 132.7 kB / 0.7123 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.6535, allocations: 52.25 kB / 0.7124 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001137/0.6546, allocations: 0.7525 MB / 0.7131 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6546, allocations: 0 / 0.7131 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002343/0.657, allocations: 0.5703 MB / 0.7137 GB, free: 14.18 MB / 0.5606 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003222/0.6573, allocations: 135.1 kB / 0.7138 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01047/0.6678, allocations: 5.123 MB / 0.7188 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.6678, allocations: 0 / 0.7188 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00654/0.6743, allocations: 3.487 MB / 0.7222 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.6773, allocations: 0.5095 MB / 0.7227 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00958/0.6869, allocations: 4.767 MB / 0.7274 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.6884, allocations: 1.481 MB / 0.7288 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/0.689, allocations: 135.3 kB / 0.7289 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.689, allocations: 0 / 0.7289 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of Templates: time 0.32/1.009, allocations: 112.5 MB / 0.8388 GB, free: 84.27 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)