Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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/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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009145, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009205/0.0009198, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001717, allocations: 270.9 kB / 291.3 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9994/0.9994, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004841, allocations: 15 kB / 0.598 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03472/0.2345, allocations: 31.76 MB / 0.7155 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.2524, allocations: 10.91 MB / 0.7262 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003189/0.2556, allocations: 143.2 kB / 0.7263 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.2578, allocations: 0.6743 MB / 0.727 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005285/0.2631, allocations: 1.582 MB / 0.7285 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006238/0.2694, allocations: 1.434 MB / 0.7299 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01285/0.2823, allocations: 9.638 MB / 0.7393 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02068/0.303, allocations: 12.57 MB / 0.7516 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005311/0.3083, allocations: 2.65 MB / 0.7542 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006743/0.3151, allocations: 3.477 MB / 0.7576 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002189/0.3173, allocations: 328 kB / 0.7579 GB, free: 4.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004241/0.3216, allocations: 0.9637 MB / 0.7588 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003098/0.3247, allocations: 2.451 MB / 0.7612 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.7476/1.072, allocations: 1.109 MB / 0.7623 GB, free: 23.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02058/1.093, allocations: 9.917 MB / 0.772 GB, free: 23.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.093, allocations: 1.094 kB / 0.772 GB, free: 23.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.478e-06/1.093, allocations: 3.141 kB / 0.772 GB, free: 23.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0006172/1.094, allocations: 2.406 kB / 0.772 GB, free: 23.55 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01832/1.112, allocations: 4.704 MB / 0.7766 GB, free: 21.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.112, allocations: 14.16 kB / 0.7766 GB, free: 21.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008354/1.12, allocations: 1.066 MB / 0.7777 GB, free: 21.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008541/1.129, allocations: 3.196 MB / 0.7808 GB, free: 20.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005527/1.13, allocations: 415.3 kB / 0.7812 GB, free: 20.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003654/1.133, allocations: 0.5347 MB / 0.7817 GB, free: 20.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03466/1.168, allocations: 9.029 MB / 0.7905 GB, free: 19.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007903/1.169, allocations: 35.94 kB / 0.7905 GB, free: 19.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004167/1.173, allocations: 237.5 kB / 0.7908 GB, free: 19.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007272/1.174, allocations: 347.5 kB / 0.7911 GB, free: 19.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02051/1.194, allocations: 6.785 MB / 0.7977 GB, free: 19.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05912/1.253, allocations: 40.17 MB / 0.837 GB, free: 3.43 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/1.258, allocations: 3.11 MB / 0.84 GB, free: 1.332 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003074/1.261, allocations: 1.949 MB / 0.8419 GB, free: 328 kB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/1.261, allocations: 26.17 kB / 0.8419 GB, free: 324 kB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/1.261, allocations: 52.42 kB / 0.842 GB, free: 264 kB / 0.5607 GB Notification: Performance of pre-optimization done (n=179): time 4.809e-06/1.261, allocations: 0 / 0.842 GB, free: 264 kB / 0.5607 GB Notification: Performance of matching and sorting (n=182): time 0.0281/1.289, allocations: 9.878 MB / 0.8516 GB, free: 10.69 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/1.29, allocations: 73.25 kB / 0.8517 GB, free: 10.62 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/1.293, allocations: 1.51 MB / 0.8532 GB, free: 9.754 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0004114/1.293, allocations: 57.39 kB / 0.8532 GB, free: 9.699 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002311/1.296, allocations: 2.253 MB / 0.8554 GB, free: 7.727 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.297, allocations: 0.635 MB / 0.856 GB, free: 7.18 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/1.297, allocations: 43.12 kB / 0.8561 GB, free: 7.145 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002518/1.297, allocations: 395.3 kB / 0.8565 GB, free: 6.781 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/1.299, allocations: 1.171 MB / 0.8576 GB, free: 6.164 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/1.302, allocations: 1.876 MB / 0.8594 GB, free: 4.027 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/1.304, allocations: 1.506 MB / 0.8609 GB, free: 2.543 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/1.304, allocations: 8 kB / 0.8609 GB, free: 2.535 MB / 0.5763 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008665/1.313, allocations: 4.557 MB / 0.8654 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/1.313, allocations: 16 kB / 0.8654 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-05/1.313, allocations: 25.97 kB / 0.8654 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00376/1.317, allocations: 1.583 MB / 0.8669 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.318, allocations: 349.3 kB / 0.8673 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/1.341, allocations: 17.05 MB / 0.8839 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/1.343, allocations: 119.9 kB / 0.884 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.343, allocations: 95.98 kB / 0.8841 GB, free: 10.48 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005217/1.349, allocations: 1.894 MB / 0.886 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006928/1.349, allocations: 221.4 kB / 0.8862 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007191/1.356, allocations: 4.077 MB / 0.8902 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/1.357, allocations: 20 kB / 0.8902 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.468e-05/1.357, allocations: 16 kB / 0.8902 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/1.357, allocations: 7.969 kB / 0.8902 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/1.374, allocations: 9.45 MB / 0.8994 GB, free: 10.72 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.374, allocations: 4 kB / 0.8994 GB, free: 10.72 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008343/1.375, allocations: 180.9 kB / 0.8996 GB, free: 10.55 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003259/1.379, allocations: 1.352 MB / 0.9009 GB, free: 9.188 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/1.379, allocations: 36 kB / 0.901 GB, free: 9.152 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/1.399, allocations: 15.96 MB / 0.9166 GB, free: 8.715 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.399, allocations: 10.48 kB / 0.9166 GB, free: 8.707 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007131/1.406, allocations: 4.053 MB / 0.9205 GB, free: 4.621 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.407, allocations: 0.5218 MB / 0.921 GB, free: 4.078 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/1.408, allocations: 40 kB / 0.9211 GB, free: 4.039 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000927/1.409, allocations: 91.84 kB / 0.9212 GB, free: 3.949 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004782/1.409, allocations: 156.8 kB / 0.9213 GB, free: 3.805 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.409, allocations: 53.92 kB / 0.9214 GB, free: 3.754 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.001584/1.411, allocations: 0.9929 MB / 0.9223 GB, free: 2.738 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2e-07/1.411, allocations: 0 / 0.9223 GB, free: 2.738 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.004182/1.415, allocations: 0.9883 MB / 0.9233 GB, free: 1.75 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003185/1.415, allocations: 142.8 kB / 0.9234 GB, free: 1.609 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.007021/1.423, allocations: 4.282 MB / 0.9276 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.423, allocations: 0 / 0.9276 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004396/1.427, allocations: 2.675 MB / 0.9302 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/1.431, allocations: 0.704 MB / 0.9309 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/1.449, allocations: 10.52 MB / 0.9412 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004253/1.454, allocations: 3.573 MB / 0.9447 GB, free: 11.78 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001637/1.455, allocations: 463.9 kB / 0.9451 GB, free: 11.32 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/1.456, allocations: 124.8 kB / 0.9452 GB, free: 11.21 MB / 0.67 GB Notification: Performance of SimCode: time 1.162e-06/1.456, allocations: 0 / 0.9452 GB, free: 11.21 MB / 0.67 GB Notification: Performance of Templates: time 0.07162/1.527, allocations: 40.84 MB / 0.9851 GB, free: 2.926 MB / 0.7013 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)