Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.001839/0.001839, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7576/0.7576, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.89 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3717, allocations: 76.14 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03137/0.4031, allocations: 33.3 MB / 0.5901 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02105/0.4242, allocations: 14.82 MB / 0.6046 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004372/0.4286, allocations: 156.6 kB / 0.6047 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008547/0.4372, allocations: 3.667 MB / 0.6083 GB, free: 240 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009623/0.4468, allocations: 2.885 MB / 0.6111 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006455/0.4533, allocations: 2.321 MB / 0.6134 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01147/0.4648, allocations: 8.829 MB / 0.622 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01385/0.4787, allocations: 9.566 MB / 0.6314 GB, free: 8.773 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007194/0.4859, allocations: 3.95 MB / 0.6352 GB, free: 4.812 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00698/0.4929, allocations: 4.042 MB / 0.6392 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002686/0.4956, allocations: 0.7148 MB / 0.6399 GB, free: 44 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005198/0.5009, allocations: 1.72 MB / 0.6415 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004485/0.5054, allocations: 2.826 MB / 0.6443 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007297/0.5127, allocations: 3.392 MB / 0.6476 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.5258, allocations: 11.19 MB / 0.6585 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.5259, allocations: 0 / 0.6585 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.665e-06/0.5259, allocations: 0 / 0.6585 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002982/0.5262, allocations: 3.938 kB / 0.6585 GB, free: 12.86 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01397/0.5402, allocations: 5.983 MB / 0.6644 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5402, allocations: 12.02 kB / 0.6644 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006961/0.5472, allocations: 1.149 MB / 0.6655 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008369/0.5556, allocations: 3.512 MB / 0.6689 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000322/0.556, allocations: 374.4 kB / 0.6693 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.5579, allocations: 500 kB / 0.6698 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/0.5768, allocations: 8.001 MB / 0.6776 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.577, allocations: 23.78 kB / 0.6776 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005708/0.5776, allocations: 220 kB / 0.6778 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001014/0.5786, allocations: 441.5 kB / 0.6782 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.5901, allocations: 6.085 MB / 0.6842 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04165/0.6318, allocations: 34.88 MB / 0.7182 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.6346, allocations: 2.026 MB / 0.7202 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/0.6371, allocations: 1.869 MB / 0.7221 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.6372, allocations: 18 kB / 0.7221 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/0.6373, allocations: 56.5 kB / 0.7221 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=171): time 3.817e-06/0.6373, allocations: 0 / 0.7221 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=276): time 0.4435/1.081, allocations: 38.87 MB / 0.7601 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/1.081, allocations: 79.61 kB / 0.7602 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005112/1.086, allocations: 2.28 MB / 0.7624 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003653/1.086, allocations: 73.11 kB / 0.7625 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/1.088, allocations: 2.276 MB / 0.7647 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000908/1.089, allocations: 0.9311 MB / 0.7656 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/1.09, allocations: 0.5095 MB / 0.7661 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.455e-05/1.09, allocations: 306.3 kB / 0.7664 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/1.093, allocations: 1.975 MB / 0.7683 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/1.097, allocations: 2.604 MB / 0.7709 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007369/1.104, allocations: 4.931 MB / 0.7757 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.602e-05/1.104, allocations: 5.594 kB / 0.7757 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01459/1.119, allocations: 7.753 MB / 0.7832 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/1.119, allocations: 13.12 kB / 0.7833 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/1.119, allocations: 18.66 kB / 0.7833 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008515/1.127, allocations: 3.225 MB / 0.7864 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/1.129, allocations: 398.3 kB / 0.7868 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03574/1.165, allocations: 33.87 MB / 0.8199 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/1.168, allocations: 167.9 kB / 0.82 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/1.169, allocations: 111.2 kB / 0.8201 GB, free: 108.3 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003091/1.172, allocations: 1.797 MB / 0.8219 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000711/1.172, allocations: 332.1 kB / 0.8222 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/1.188, allocations: 7.357 MB / 0.8294 GB, free: 98.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/1.188, allocations: 28 kB / 0.8294 GB, free: 98.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.662e-05/1.188, allocations: 28.5 kB / 0.8295 GB, free: 98.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.265e-05/1.188, allocations: 11.95 kB / 0.8295 GB, free: 98.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02718/1.215, allocations: 12.92 MB / 0.8421 GB, free: 85.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/1.215, allocations: 13.77 kB / 0.8421 GB, free: 85.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.216, allocations: 235.6 kB / 0.8423 GB, free: 85.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/1.227, allocations: 2.849 MB / 0.8451 GB, free: 82.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000457/1.227, allocations: 48 kB / 0.8452 GB, free: 82.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03321/1.26, allocations: 32.67 MB / 0.8771 GB, free: 48.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.26, allocations: 19.3 kB / 0.8771 GB, free: 48.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/1.272, allocations: 6.89 MB / 0.8838 GB, free: 41.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/1.274, allocations: 0.7783 MB / 0.8846 GB, free: 41.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00056/1.275, allocations: 52 kB / 0.8846 GB, free: 40.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/1.277, allocations: 167.8 kB / 0.8848 GB, free: 40.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008279/1.277, allocations: 257.4 kB / 0.885 GB, free: 40.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.278, allocations: 76 kB / 0.8851 GB, free: 40.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001782/1.279, allocations: 1.518 MB / 0.8866 GB, free: 38.97 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/1.279, allocations: 4 kB / 0.8866 GB, free: 38.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004063/1.283, allocations: 1.371 MB / 0.8879 GB, free: 37.6 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003376/1.284, allocations: 176.4 kB / 0.8881 GB, free: 37.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00936/1.293, allocations: 6.933 MB / 0.8949 GB, free: 30.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.293, allocations: 0 / 0.8949 GB, free: 30.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006299/1.299, allocations: 4.402 MB / 0.8992 GB, free: 25.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004188/1.304, allocations: 1.117 MB / 0.9002 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/1.318, allocations: 10.09 MB / 0.9101 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00314/1.321, allocations: 3.642 MB / 0.9137 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00174/1.323, allocations: 0.5596 MB / 0.9142 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/1.323, allocations: 163.4 kB / 0.9144 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/1.323, allocations: 3.938 kB / 0.9144 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.4111/1.734, allocations: 74.97 MB / 0.9876 GB, free: 201 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)