Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001736/0.001735, allocations: 102.2 kB / 16.27 MB, free: 6 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.00196/0.00196, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002254/0.002254, allocations: 289.2 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 98.56 kB / 0.5959 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1631, allocations: 86.97 MB / 0.6808 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.3421/0.5052, allocations: 30.74 MB / 0.7109 GB, free: 43.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.5241, allocations: 13.59 MB / 0.7241 GB, free: 42.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.5283, allocations: 142.7 kB / 0.7243 GB, free: 42.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.007747/0.5362, allocations: 3.195 MB / 0.7274 GB, free: 41.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007639/0.5438, allocations: 2.666 MB / 0.73 GB, free: 39.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005568/0.5494, allocations: 2.017 MB / 0.732 GB, free: 38.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009202/0.5587, allocations: 7.613 MB / 0.7394 GB, free: 35.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009563/0.5683, allocations: 8.281 MB / 0.7475 GB, free: 31.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006512/0.5748, allocations: 3.4 MB / 0.7508 GB, free: 30.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006242/0.5811, allocations: 3.381 MB / 0.7541 GB, free: 28.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002592/0.5837, allocations: 0.6034 MB / 0.7547 GB, free: 28.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005554/0.5893, allocations: 1.49 MB / 0.7562 GB, free: 28.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004118/0.5935, allocations: 2.367 MB / 0.7585 GB, free: 27.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006992/0.6005, allocations: 2.886 MB / 0.7613 GB, free: 25.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.6156, allocations: 9.396 MB / 0.7705 GB, free: 22.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.6157, allocations: 1.938 kB / 0.7705 GB, free: 22.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6157, allocations: 0 / 0.7705 GB, free: 22.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003099/0.616, allocations: 0 / 0.7705 GB, free: 22.64 MB / 0.545 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.0177/0.6337, allocations: 5.138 MB / 0.7755 GB, free: 19.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6338, allocations: 9.062 kB / 0.7755 GB, free: 19.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007697/0.6415, allocations: 0.9962 MB / 0.7765 GB, free: 19.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007505/0.649, allocations: 2.894 MB / 0.7793 GB, free: 17.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003904/0.6494, allocations: 315.1 kB / 0.7796 GB, free: 17.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002194/0.6516, allocations: 420.1 kB / 0.78 GB, free: 17.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01684/0.6685, allocations: 6.797 MB / 0.7866 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.6687, allocations: 19.73 kB / 0.7866 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007894/0.6695, allocations: 184.1 kB / 0.7868 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009023/0.6704, allocations: 368.9 kB / 0.7872 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/0.6832, allocations: 5.12 MB / 0.7922 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04044/0.7237, allocations: 30.74 MB / 0.8222 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.726, allocations: 1.395 MB / 0.8236 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.7279, allocations: 1.328 MB / 0.8249 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-05/0.728, allocations: 17.25 kB / 0.8249 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.7281, allocations: 47.88 kB / 0.8249 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 3.737e-06/0.7281, allocations: 0 / 0.8249 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.08883/0.8169, allocations: 23.07 MB / 0.8474 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.817, allocations: 73.39 kB / 0.8475 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.8202, allocations: 2.07 MB / 0.8495 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003777/0.8206, allocations: 65.64 kB / 0.8496 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.8221, allocations: 1.998 MB / 0.8515 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000798/0.8229, allocations: 0.6816 MB / 0.8522 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000753/0.8237, allocations: 404.2 kB / 0.8526 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8238, allocations: 309.1 kB / 0.8529 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.8258, allocations: 1.433 MB / 0.8543 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.8284, allocations: 2.01 MB / 0.8563 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004891/0.8333, allocations: 3.696 MB / 0.8599 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.8333, allocations: 4 kB / 0.8599 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01123/0.8446, allocations: 5.665 MB / 0.8654 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.8446, allocations: 12 kB / 0.8654 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.8447, allocations: 16 kB / 0.8654 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006753/0.8514, allocations: 2.103 MB / 0.8675 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.8531, allocations: 383.3 kB / 0.8678 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03806/0.8912, allocations: 38.45 MB / 0.9054 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.8943, allocations: 123.9 kB / 0.9055 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00042/0.8947, allocations: 88 kB / 0.9056 GB, free: 2.293 MB / 0.6544 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.003147/0.8979, allocations: 1.508 MB / 0.9071 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/0.8986, allocations: 280.7 kB / 0.9073 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/0.9086, allocations: 5.211 MB / 0.9124 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.9087, allocations: 27.94 kB / 0.9125 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-05/0.9088, allocations: 16 kB / 0.9125 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-05/0.9088, allocations: 11.95 kB / 0.9125 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01883/0.9276, allocations: 9.676 MB / 0.9219 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.9277, allocations: 8 kB / 0.9219 GB, free: 1.262 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009046/0.9286, allocations: 215.6 kB / 0.9221 GB, free: 1.051 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005767/0.9344, allocations: 1.866 MB / 0.924 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002746/0.9347, allocations: 36 kB / 0.924 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03613/0.9708, allocations: 37.47 MB / 0.9606 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/0.9709, allocations: 11.94 kB / 0.9606 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.981, allocations: 4.913 MB / 0.9654 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/0.9834, allocations: 0.6147 MB / 0.966 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000907/0.9844, allocations: 44 kB / 0.966 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/0.9863, allocations: 131.9 kB / 0.9662 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000868/0.9872, allocations: 193.6 kB / 0.9664 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.9874, allocations: 59.98 kB / 0.9664 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002715/0.9901, allocations: 1.374 MB / 0.9678 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9901, allocations: 0 / 0.9678 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005459/0.9956, allocations: 1.047 MB / 0.9688 GB, free: 14.53 MB / 0.7325 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.0004147/0.996, allocations: 174.9 kB / 0.9689 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.008, allocations: 7.202 MB / 0.976 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/1.008, allocations: 4 kB / 0.976 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006952/1.015, allocations: 4.403 MB / 0.9803 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004991/1.02, allocations: 0.9912 MB / 0.9812 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3098/1.33, allocations: 8.705 MB / 0.9897 GB, free: 222.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/1.333, allocations: 3.179 MB / 0.9929 GB, free: 222.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006727/1.334, allocations: 160.8 kB / 0.993 GB, free: 222.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.623e-06/1.334, allocations: 3.219 kB / 0.993 GB, free: 222.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.5902/1.924, allocations: 464.7 MB / 1.447 GB, free: 90.89 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)