Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 102.4 kB / 16.64 MB, free: 6.809 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.001033/0.001033, allocations: 197.9 kB / 17.57 MB, free: 5.938 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.435/1.435, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7836/0.7836, allocations: 122.8 MB / 414.2 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.91 kB / 0.4912 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3851, allocations: 77.92 MB / 0.5673 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02954/0.4147, allocations: 30.48 MB / 0.5971 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01947/0.4343, allocations: 13.45 MB / 0.6102 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004538/0.4388, allocations: 133 kB / 0.6104 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008453/0.4474, allocations: 2.976 MB / 0.6133 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008793/0.4562, allocations: 2.455 MB / 0.6157 GB, free: 9.449 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005743/0.4619, allocations: 1.841 MB / 0.6175 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.4739, allocations: 7.648 MB / 0.6249 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0158/0.4897, allocations: 9.941 MB / 0.6346 GB, free: 5.887 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006599/0.4964, allocations: 3.458 MB / 0.638 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006174/0.5026, allocations: 3.536 MB / 0.6415 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001894/0.5045, allocations: 0.5938 MB / 0.6421 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.5087, allocations: 1.498 MB / 0.6435 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003598/0.5123, allocations: 2.362 MB / 0.6458 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005665/0.518, allocations: 2.878 MB / 0.6486 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009921/0.528, allocations: 8.009 MB / 0.6565 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.528, allocations: 0 / 0.6565 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.528, allocations: 0 / 0.6565 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002962/0.5283, allocations: 4 kB / 0.6565 GB, free: 15.48 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01366/0.542, allocations: 5.132 MB / 0.6615 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5421, allocations: 8.625 kB / 0.6615 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/0.5488, allocations: 1.006 MB / 0.6625 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007192/0.556, allocations: 2.896 MB / 0.6653 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.5564, allocations: 312.8 kB / 0.6656 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/0.5581, allocations: 424 kB / 0.666 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.5749, allocations: 6.788 MB / 0.6726 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003091/0.5753, allocations: 19.78 kB / 0.6726 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00176/0.577, allocations: 184 kB / 0.6728 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001047/0.5781, allocations: 368 kB / 0.6732 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.5895, allocations: 5.118 MB / 0.6782 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03906/0.6286, allocations: 30.74 MB / 0.7082 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.6308, allocations: 1.387 MB / 0.7095 GB, free: 5.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.6325, allocations: 1.331 MB / 0.7108 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.921e-05/0.6326, allocations: 13.31 kB / 0.7109 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.6326, allocations: 51.88 kB / 0.7109 GB, free: 4.473 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 2.575e-06/0.6327, allocations: 4 kB / 0.7109 GB, free: 4.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.08513/0.7178, allocations: 23.09 MB / 0.7335 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.7179, allocations: 73.41 kB / 0.7335 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.7216, allocations: 2.062 MB / 0.7355 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000393/0.722, allocations: 57.7 kB / 0.7356 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.7235, allocations: 2.006 MB / 0.7376 GB, free: 9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008977/0.7244, allocations: 0.6777 MB / 0.7382 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/0.7255, allocations: 412.2 kB / 0.7386 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.7256, allocations: 305.1 kB / 0.7389 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/0.7277, allocations: 1.43 MB / 0.7403 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.7303, allocations: 2.017 MB / 0.7423 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.304/1.034, allocations: 3.69 MB / 0.7459 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-05/1.034, allocations: 5.625 kB / 0.7459 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01274/1.047, allocations: 5.659 MB / 0.7514 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/1.047, allocations: 15.55 kB / 0.7514 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/1.047, allocations: 17.41 kB / 0.7514 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007245/1.054, allocations: 2.1 MB / 0.7535 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/1.056, allocations: 372.8 kB / 0.7538 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03426/1.09, allocations: 38.47 MB / 0.7914 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/1.093, allocations: 127.7 kB / 0.7915 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004737/1.094, allocations: 91.06 kB / 0.7916 GB, free: 120.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002879/1.096, allocations: 1.507 MB / 0.7931 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007593/1.097, allocations: 286.2 kB / 0.7934 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009208/1.106, allocations: 5.215 MB / 0.7984 GB, free: 116.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.106, allocations: 19.22 kB / 0.7985 GB, free: 116.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-05/1.106, allocations: 19.28 kB / 0.7985 GB, free: 116.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/1.107, allocations: 7.969 kB / 0.7985 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/1.123, allocations: 9.671 MB / 0.8079 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.123, allocations: 12.03 kB / 0.8079 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/1.124, allocations: 215.6 kB / 0.8082 GB, free: 109.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005411/1.129, allocations: 1.858 MB / 0.81 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/1.129, allocations: 40 kB / 0.81 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02791/1.157, allocations: 37.47 MB / 0.8466 GB, free: 68.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.157, allocations: 7.938 kB / 0.8466 GB, free: 68.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008136/1.165, allocations: 4.914 MB / 0.8514 GB, free: 63.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.167, allocations: 0.6109 MB / 0.852 GB, free: 62.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007619/1.168, allocations: 47.94 kB / 0.852 GB, free: 62.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/1.169, allocations: 127.8 kB / 0.8522 GB, free: 62.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006678/1.17, allocations: 197.5 kB / 0.8524 GB, free: 62.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/1.17, allocations: 56.14 kB / 0.8524 GB, free: 61.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002143/1.172, allocations: 1.382 MB / 0.8538 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/1.172, allocations: 0 / 0.8538 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004175/1.177, allocations: 1.043 MB / 0.8548 GB, free: 59.55 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,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.000425/1.177, allocations: 167.6 kB / 0.8549 GB, free: 59.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.188, allocations: 7.215 MB / 0.862 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/1.188, allocations: 4 kB / 0.862 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006298/1.194, allocations: 4.394 MB / 0.8663 GB, free: 47.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005845/1.2, allocations: 0.9865 MB / 0.8672 GB, free: 46.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.216, allocations: 10.62 MB / 0.8776 GB, free: 35.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003921/1.22, allocations: 3.182 MB / 0.8807 GB, free: 32.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00068/1.221, allocations: 155.4 kB / 0.8809 GB, free: 32.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/1.221, allocations: 0 / 0.8809 GB, free: 32.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.8886/2.11, allocations: 464.6 MB / 1.335 GB, free: 157.1 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)