Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.25/2.25, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 193.3 kB / 499.1 MB, free: 4.656 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 111 kB / 0.9329 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001067, allocations: 54.39 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2824, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02661/0.3091, allocations: 30.39 MB / 1.248 GB, free: 86.66 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0205/0.3296, allocations: 13.62 MB / 1.261 GB, free: 73.01 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004135/0.3338, allocations: 131.2 kB / 1.261 GB, free: 72.88 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.007046/0.3409, allocations: 2.96 MB / 1.264 GB, free: 69.91 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007995/0.3489, allocations: 2.48 MB / 1.267 GB, free: 67.42 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005394/0.3544, allocations: 1.846 MB / 1.268 GB, free: 65.58 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.3652, allocations: 10.49 MB / 1.279 GB, free: 55.07 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/0.3788, allocations: 9.046 MB / 1.287 GB, free: 45.91 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006437/0.3853, allocations: 2.997 MB / 1.29 GB, free: 42.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006611/0.392, allocations: 3.426 MB / 1.294 GB, free: 39.46 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.002187/0.3942, allocations: 400 kB / 1.294 GB, free: 39.07 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.3992, allocations: 1.54 MB / 1.296 GB, free: 37.53 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.003726/0.4029, allocations: 2.155 MB / 1.298 GB, free: 35.37 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.006509/0.4095, allocations: 2.652 MB / 1.3 GB, free: 32.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01486/0.4243, allocations: 9.308 MB / 1.309 GB, free: 23.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.39e-05/0.4244, allocations: 4 kB / 1.309 GB, free: 23.36 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.928e-06/0.4245, allocations: 0 / 1.309 GB, free: 23.36 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005498/0.425, allocations: 0 / 1.309 GB, free: 23.36 MB / 0.823 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.0185/0.4436, allocations: 5.124 MB / 1.314 GB, free: 18.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.4436, allocations: 15.92 kB / 1.314 GB, free: 18.14 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006962/0.4506, allocations: 0.9941 MB / 1.315 GB, free: 17.14 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00743/0.4581, allocations: 2.9 MB / 1.318 GB, free: 14.16 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.4584, allocations: 312.8 kB / 1.318 GB, free: 13.86 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.4599, allocations: 424 kB / 1.319 GB, free: 13.44 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.4706, allocations: 6.796 MB / 1.326 GB, free: 6.355 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.4708, allocations: 23.77 kB / 1.326 GB, free: 6.332 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003969/0.4712, allocations: 184 kB / 1.326 GB, free: 6.152 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000787/0.472, allocations: 372 kB / 1.326 GB, free: 5.785 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008725/0.4807, allocations: 5.11 MB / 1.331 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04374/0.5245, allocations: 30.74 MB / 1.361 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.5269, allocations: 1.38 MB / 1.362 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.5289, allocations: 1.331 MB / 1.364 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.5291, allocations: 17.25 kB / 1.364 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.5291, allocations: 51.88 kB / 1.364 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=130): time 3.176e-06/0.5291, allocations: 0 / 1.364 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=199): time 0.08624/0.6154, allocations: 23.07 MB / 1.386 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.6155, allocations: 77.39 kB / 1.386 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.6184, allocations: 2.058 MB / 1.388 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002802/0.6187, allocations: 61.64 kB / 1.388 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.62, allocations: 2.01 MB / 1.39 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006955/0.6207, allocations: 0.6777 MB / 1.391 GB, free: 204 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007061/0.6214, allocations: 416.2 kB / 1.391 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.6216, allocations: 305.1 kB / 1.392 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/0.6235, allocations: 1.43 MB / 1.393 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.626, allocations: 2.021 MB / 1.395 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004938/0.631, allocations: 3.692 MB / 1.399 GB, free: 7.844 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.631, allocations: 4 kB / 1.399 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01118/0.6422, allocations: 5.661 MB / 1.404 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.6423, allocations: 12 kB / 1.404 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.6423, allocations: 16 kB / 1.404 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006813/0.6491, allocations: 2.091 MB / 1.406 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.6508, allocations: 375.4 kB / 1.407 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5563/1.207, allocations: 35.49 MB / 1.441 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.21, allocations: 127 kB / 1.441 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/1.21, allocations: 91.61 kB / 1.442 GB, free: 167.9 MB / 0.9167 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.002344/1.212, allocations: 1.507 MB / 1.443 GB, free: 167.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/1.213, allocations: 283.9 kB / 1.443 GB, free: 167.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.223, allocations: 5.208 MB / 1.448 GB, free: 165 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/1.223, allocations: 19.59 kB / 1.448 GB, free: 165 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.095e-05/1.223, allocations: 17.88 kB / 1.448 GB, free: 165 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/1.223, allocations: 9.656 kB / 1.448 GB, free: 165 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02044/1.243, allocations: 9.677 MB / 1.458 GB, free: 161.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.243, allocations: 11.09 kB / 1.458 GB, free: 161.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/1.244, allocations: 214.6 kB / 1.458 GB, free: 161.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005265/1.249, allocations: 1.841 MB / 1.46 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/1.25, allocations: 39.69 kB / 1.46 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02656/1.276, allocations: 34.52 MB / 1.494 GB, free: 131.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.276, allocations: 7.625 kB / 1.494 GB, free: 131.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.287, allocations: 7.861 MB / 1.501 GB, free: 126.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.288, allocations: 0.6147 MB / 1.502 GB, free: 125.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/1.288, allocations: 47.8 kB / 1.502 GB, free: 125.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.289, allocations: 123.8 kB / 1.502 GB, free: 125.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000575/1.29, allocations: 201.5 kB / 1.502 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.29, allocations: 52.19 kB / 1.502 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001433/1.292, allocations: 1.384 MB / 1.504 GB, free: 123.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.292, allocations: 0 / 1.504 GB, free: 123.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002943/1.294, allocations: 1.047 MB / 1.505 GB, free: 122.8 MB / 0.9167 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.000243/1.295, allocations: 171.6 kB / 1.505 GB, free: 122.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008081/1.303, allocations: 6.269 MB / 1.511 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.303, allocations: 0 / 1.511 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00528/1.308, allocations: 4.396 MB / 1.515 GB, free: 111.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/1.312, allocations: 0.9072 MB / 1.516 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/1.324, allocations: 11.2 MB / 1.527 GB, free: 99.35 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/1.326, allocations: 3.193 MB / 1.53 GB, free: 96.12 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00171/1.328, allocations: 0.5199 MB / 1.531 GB, free: 95.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/1.328, allocations: 147.4 kB / 1.531 GB, free: 95.46 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/1.328, allocations: 0 / 1.531 GB, free: 95.46 MB / 0.9167 GB Notification: Performance of Templates: time 0.07773/1.406, allocations: 60.15 MB / 1.59 GB, free: 36.11 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)