Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001064, allocations: 86.72 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.001047/0.001047, 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.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001854/0.001854, allocations: 266.9 kB / 291.3 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9826/0.9826, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007114/0.0007114, allocations: 18.08 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1797, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02131/0.2011, allocations: 20.5 MB / 0.7045 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00961/0.2107, allocations: 5.938 MB / 0.7103 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.2128, allocations: 84.09 kB / 0.7104 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.2138, allocations: 424.7 kB / 0.7108 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003197/0.217, allocations: 1.349 MB / 0.7121 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.2195, allocations: 0.8246 MB / 0.7129 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008313/0.2278, allocations: 6.889 MB / 0.7197 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.238, allocations: 6.235 MB / 0.7257 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.2414, allocations: 1.805 MB / 0.7275 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003984/0.2454, allocations: 2.558 MB / 0.73 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004947/0.2459, allocations: 200 kB / 0.7302 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.2474, allocations: 0.5463 MB / 0.7307 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.2491, allocations: 1.719 MB / 0.7324 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000896/0.2501, allocations: 0.7342 MB / 0.7331 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005474/0.2555, allocations: 5.996 MB / 0.739 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2556, allocations: 0 / 0.739 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2556, allocations: 0 / 0.739 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000146/0.2557, allocations: 0 / 0.739 GB, free: 7.484 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.005918/0.2616, allocations: 3.111 MB / 0.742 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2617, allocations: 8.031 kB / 0.742 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006065/0.2678, allocations: 1.217 MB / 0.7432 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004247/0.272, allocations: 2.165 MB / 0.7453 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.2723, allocations: 238.4 kB / 0.7456 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006089/0.2729, allocations: 308 kB / 0.7458 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.2838, allocations: 6.193 MB / 0.7519 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.726e-05/0.2839, allocations: 15.94 kB / 0.7519 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003505/0.2842, allocations: 135.9 kB / 0.752 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000525/0.2848, allocations: 410.3 kB / 0.7524 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008494/0.2933, allocations: 4.647 MB / 0.757 GB, free: 4.672 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3384/0.6317, allocations: 29.05 MB / 0.7853 GB, free: 73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.6336, allocations: 1.416 MB / 0.7867 GB, free: 72.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.6353, allocations: 1.482 MB / 0.7882 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.6355, allocations: 15.22 kB / 0.7882 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.6355, allocations: 44.62 kB / 0.7882 GB, free: 72.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.517e-06/0.6355, allocations: 0 / 0.7882 GB, free: 72.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.1145/0.75, allocations: 36.31 MB / 0.8237 GB, free: 59.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.7501, allocations: 73.41 kB / 0.8238 GB, free: 59.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.7518, allocations: 1.396 MB / 0.8251 GB, free: 58.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.752, allocations: 57.7 kB / 0.8252 GB, free: 58.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006316/0.7527, allocations: 1.538 MB / 0.8267 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/0.7531, allocations: 0.6149 MB / 0.8273 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.7533, allocations: 44 kB / 0.8273 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.7534, allocations: 389.9 kB / 0.8277 GB, free: 55.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.7552, allocations: 1.78 MB / 0.8294 GB, free: 53.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.7573, allocations: 2.335 MB / 0.8317 GB, free: 51.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.7595, allocations: 2.055 MB / 0.8337 GB, free: 49.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.7595, allocations: 6.953 kB / 0.8337 GB, free: 49.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01391/0.7735, allocations: 8.536 MB / 0.8421 GB, free: 40.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.7735, allocations: 12.94 kB / 0.8421 GB, free: 40.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.7735, allocations: 20 kB / 0.8421 GB, free: 40.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01173/0.7853, allocations: 4.632 MB / 0.8466 GB, free: 35.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.7863, allocations: 303.4 kB / 0.8469 GB, free: 35.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03355/0.8199, allocations: 29.44 MB / 0.8756 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.8221, allocations: 151.8 kB / 0.8758 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.8225, allocations: 80.66 kB / 0.8759 GB, free: 5.223 MB / 0.5606 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002213/0.8247, allocations: 1.341 MB / 0.8772 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004954/0.8252, allocations: 197.7 kB / 0.8774 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/0.8413, allocations: 8.414 MB / 0.8856 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.8414, allocations: 16 kB / 0.8856 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001117/0.8415, allocations: 28 kB / 0.8856 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-05/0.8415, allocations: 12.83 kB / 0.8856 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02406/0.8656, allocations: 12.82 MB / 0.8982 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.8657, allocations: 8 kB / 0.8982 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.8663, allocations: 164.5 kB / 0.8983 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01301/0.8794, allocations: 4.487 MB / 0.9027 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002586/0.8796, allocations: 40 kB / 0.9027 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04073/0.9204, allocations: 29.07 MB / 0.9311 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.9204, allocations: 11.95 kB / 0.9311 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/0.9366, allocations: 8.214 MB / 0.9392 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.9379, allocations: 0.6195 MB / 0.9398 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.9382, allocations: 36 kB / 0.9398 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.9394, allocations: 135.8 kB / 0.9399 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000695/0.9401, allocations: 180.7 kB / 0.9401 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.9403, allocations: 48 kB / 0.9401 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001252/0.9415, allocations: 0.947 MB / 0.9411 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9415, allocations: 0 / 0.9411 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00332/0.9449, allocations: 1.117 MB / 0.9422 GB, free: 204 kB / 0.6231 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003007/0.9452, allocations: 155 kB / 0.9423 GB, free: 40 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01155/0.9567, allocations: 6.405 MB / 0.9486 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.9568, allocations: 0 / 0.9486 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008254/0.965, allocations: 4.289 MB / 0.9528 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.9675, allocations: 0.4977 MB / 0.9532 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.9785, allocations: 8.086 MB / 0.9611 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/0.9812, allocations: 2.723 MB / 0.9638 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001139/0.9824, allocations: 388.5 kB / 0.9642 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.9826, allocations: 91.44 kB / 0.9643 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.9826, allocations: 4 kB / 0.9643 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of Templates: time 0.0841/1.067, allocations: 55.58 MB / 1.019 GB, free: 2.051 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)