Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001271, allocations: 185 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 0.5783 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008068/0.0008067, allocations: 88.25 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 8.125 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2629, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02597/0.2889, allocations: 31.93 MB / 0.932 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.3048, allocations: 9.554 MB / 0.9413 GB, free: 22.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004564/0.3094, allocations: 127.2 kB / 0.9415 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.3123, allocations: 0.686 MB / 0.9421 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006456/0.3187, allocations: 1.636 MB / 0.9437 GB, free: 20.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005376/0.3242, allocations: 1.155 MB / 0.9449 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01154/0.3357, allocations: 8.841 MB / 0.9535 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01629/0.3521, allocations: 10.41 MB / 0.9637 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00654/0.3587, allocations: 2.428 MB / 0.966 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008651/0.3674, allocations: 3.118 MB / 0.9691 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002267/0.3697, allocations: 280 kB / 0.9693 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005233/0.3749, allocations: 0.6556 MB / 0.97 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.005431/0.3804, allocations: 2.093 MB / 0.972 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003592/0.384, allocations: 1.03 MB / 0.973 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.3964, allocations: 8.552 MB / 0.9814 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3964, allocations: 0 / 0.9814 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3965, allocations: 0 / 0.9814 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000525/0.397, allocations: 0 / 0.9814 GB, free: 13.52 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01591/0.4129, allocations: 4.408 MB / 0.9857 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.413, allocations: 12.03 kB / 0.9857 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006743/0.4198, allocations: 0.9655 MB / 0.9866 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009159/0.429, allocations: 2.925 MB / 0.9895 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000613/0.4296, allocations: 357.5 kB / 0.9898 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002257/0.4319, allocations: 467.9 kB / 0.9903 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.4567, allocations: 7.875 MB / 0.998 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003545/0.4572, allocations: 15.88 kB / 0.998 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/0.4593, allocations: 208 kB / 0.9982 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007249/0.46, allocations: 373 kB / 0.9986 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01672/0.4768, allocations: 5.898 MB / 1.004 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05899/0.5358, allocations: 36.25 MB / 1.04 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.5403, allocations: 2.135 MB / 1.042 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002594/0.5429, allocations: 1.48 MB / 1.043 GB, free: 10.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.5431, allocations: 13.31 kB / 1.043 GB, free: 10.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.744e-05/0.5432, allocations: 59.83 kB / 1.043 GB, free: 10.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=157): time 6.091e-06/0.5432, allocations: 0 / 1.043 GB, free: 10.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=160): time 0.01758/0.5608, allocations: 7.536 MB / 1.051 GB, free: 2.527 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.561, allocations: 72.72 kB / 1.051 GB, free: 2.445 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/0.5658, allocations: 1.845 MB / 1.053 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004787/0.5663, allocations: 53.7 kB / 1.053 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.6052/1.172, allocations: 2.121 MB / 1.055 GB, free: 136.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007907/1.172, allocations: 0.5581 MB / 1.055 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/1.173, allocations: 43.38 kB / 1.055 GB, free: 136.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.173, allocations: 394.9 kB / 1.056 GB, free: 135.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/1.174, allocations: 1.05 MB / 1.057 GB, free: 135.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/1.176, allocations: 1.761 MB / 1.058 GB, free: 135.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/1.178, allocations: 1.342 MB / 1.06 GB, free: 135 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.178, allocations: 11.28 kB / 1.06 GB, free: 135 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006875/1.185, allocations: 3.897 MB / 1.063 GB, free: 134.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/1.185, allocations: 19.34 kB / 1.064 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.725e-05/1.185, allocations: 22.8 kB / 1.064 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/1.188, allocations: 0.9213 MB / 1.064 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.19, allocations: 428 kB / 1.065 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/1.209, allocations: 21.06 MB / 1.085 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/1.211, allocations: 125.9 kB / 1.086 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/1.211, allocations: 92.55 kB / 1.086 GB, free: 117.8 MB / 0.698 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004119/1.216, allocations: 1.653 MB / 1.087 GB, free: 117.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006455/1.216, allocations: 256.8 kB / 1.087 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006018/1.222, allocations: 3.244 MB / 1.091 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/1.222, allocations: 23.55 kB / 1.091 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.222, allocations: 7.938 kB / 1.091 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/1.222, allocations: 11.44 kB / 1.091 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/1.233, allocations: 7.534 MB / 1.098 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.233, allocations: 4.531 kB / 1.098 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.234, allocations: 225.1 kB / 1.098 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002543/1.237, allocations: 0.8963 MB / 1.099 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.237, allocations: 34.88 kB / 1.099 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/1.253, allocations: 21.01 MB / 1.12 GB, free: 92.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/1.253, allocations: 11.64 kB / 1.12 GB, free: 92.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005601/1.259, allocations: 3.358 MB / 1.123 GB, free: 90.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.26, allocations: 0.5357 MB / 1.124 GB, free: 90.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/1.261, allocations: 35.98 kB / 1.124 GB, free: 90.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.262, allocations: 91.89 kB / 1.124 GB, free: 89.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/1.262, allocations: 145.7 kB / 1.124 GB, free: 89.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/1.262, allocations: 45.75 kB / 1.124 GB, free: 89.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001402/1.264, allocations: 1.201 MB / 1.125 GB, free: 88.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.264, allocations: 0 / 1.125 GB, free: 88.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002919/1.267, allocations: 0.9062 MB / 1.126 GB, free: 87.62 MB / 0.698 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002867/1.267, allocations: 159 kB / 1.126 GB, free: 87.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005476/1.272, allocations: 4.409 MB / 1.13 GB, free: 82.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/1.272, allocations: 11.97 kB / 1.13 GB, free: 82.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/1.276, allocations: 2.985 MB / 1.133 GB, free: 79.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/1.281, allocations: 0.7698 MB / 1.134 GB, free: 78.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/1.295, allocations: 9.887 MB / 1.144 GB, free: 69.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002833/1.298, allocations: 3.277 MB / 1.147 GB, free: 65.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007771/1.299, allocations: 163.4 kB / 1.147 GB, free: 65.56 MB / 0.698 GB Notification: Performance of SimCode: time 1.863e-06/1.299, allocations: 0 / 1.147 GB, free: 65.56 MB / 0.698 GB Notification: Performance of Templates: time 0.7846/2.083, allocations: 339.2 MB / 1.478 GB, free: 228.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)