Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 114.7 kB / 16.37 MB, free: 5.984 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.001123/0.001123, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 282.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9249/0.9249, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 94.5 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1677, allocations: 86.98 MB / 0.6816 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.2937/0.4614, allocations: 23.39 MB / 0.7045 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.4719, allocations: 6.479 MB / 0.7108 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.4743, allocations: 99.31 kB / 0.7109 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.4782, allocations: 1.49 MB / 0.7123 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00452/0.4827, allocations: 1.825 MB / 0.7141 GB, free: 256 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.4867, allocations: 1.465 MB / 0.7156 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008972/0.4957, allocations: 6.904 MB / 0.7223 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009886/0.5056, allocations: 6.958 MB / 0.7291 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004865/0.5105, allocations: 2.839 MB / 0.7319 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005618/0.5161, allocations: 3.477 MB / 0.7353 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001625/0.5178, allocations: 0.5261 MB / 0.7358 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.5215, allocations: 1.174 MB / 0.7369 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003921/0.5254, allocations: 2.46 MB / 0.7393 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004639/0.5301, allocations: 2.547 MB / 0.7418 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008103/0.5382, allocations: 8.51 MB / 0.7501 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.5383, allocations: 7.938 kB / 0.7501 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5383, allocations: 0 / 0.7501 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001506/0.5384, allocations: 4 kB / 0.7501 GB, free: 9.52 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007768/0.5462, allocations: 4.428 MB / 0.7545 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5462, allocations: 12.03 kB / 0.7545 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007909/0.5542, allocations: 1.681 MB / 0.7561 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005568/0.5597, allocations: 2.688 MB / 0.7587 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.5599, allocations: 279.7 kB / 0.759 GB, free: 316 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007366/0.5607, allocations: 364.2 kB / 0.7594 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.5719, allocations: 7.487 MB / 0.7667 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.478e-05/0.572, allocations: 15.88 kB / 0.7667 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/0.5725, allocations: 155.9 kB / 0.7668 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000512/0.573, allocations: 491.3 kB / 0.7673 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008224/0.5812, allocations: 5.697 MB / 0.7729 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03098/0.6122, allocations: 31.5 MB / 0.8036 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.6149, allocations: 2.086 MB / 0.8057 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/0.6177, allocations: 2.182 MB / 0.8078 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.6178, allocations: 13.31 kB / 0.8078 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.6179, allocations: 51.88 kB / 0.8078 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 3.046e-06/0.6179, allocations: 0 / 0.8078 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=251): time 0.2709/0.8888, allocations: 76.99 MB / 0.883 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.8889, allocations: 77.41 kB / 0.8831 GB, free: 14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.891, allocations: 1.67 MB / 0.8847 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003836/0.8914, allocations: 65.7 kB / 0.8848 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009833/0.8924, allocations: 1.759 MB / 0.8865 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007393/0.8931, allocations: 0.8471 MB / 0.8873 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009592/0.8941, allocations: 489.2 kB / 0.8878 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.8942, allocations: 305.1 kB / 0.8881 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003531/0.8977, allocations: 2.726 MB / 0.8908 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004028/0.9017, allocations: 3.328 MB / 0.894 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007995/0.9098, allocations: 6.397 MB / 0.9003 GB, free: 11.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.9098, allocations: 8 kB / 0.9003 GB, free: 11.83 MB / 0.67 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03078/0.9406, allocations: 14.68 MB / 0.9146 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.9406, allocations: 12 kB / 0.9146 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.9407, allocations: 16 kB / 0.9146 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02834/0.969, allocations: 9.243 MB / 0.9237 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.9702, allocations: 303.4 kB / 0.9239 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3311/1.301, allocations: 52.32 MB / 0.975 GB, free: 218.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/1.304, allocations: 225.4 kB / 0.9753 GB, free: 218.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003123/1.304, allocations: 104.2 kB / 0.9754 GB, free: 218.3 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002546/1.307, allocations: 1.589 MB / 0.9769 GB, free: 217.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005169/1.307, allocations: 242.5 kB / 0.9771 GB, free: 217.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0294/1.337, allocations: 14.76 MB / 0.9915 GB, free: 213.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/1.337, allocations: 23.75 kB / 0.9916 GB, free: 213.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000134/1.337, allocations: 51.45 kB / 0.9916 GB, free: 213.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.881e-05/1.337, allocations: 15.97 kB / 0.9916 GB, free: 213.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03611/1.373, allocations: 20.53 MB / 1.012 GB, free: 206.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/1.373, allocations: 3.875 kB / 1.012 GB, free: 206.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006737/1.374, allocations: 160.5 kB / 1.012 GB, free: 206.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02492/1.399, allocations: 9.005 MB / 1.021 GB, free: 201.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004286/1.399, allocations: 49.91 kB / 1.021 GB, free: 201.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05947/1.459, allocations: 51.89 MB / 1.071 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.459, allocations: 11.94 kB / 1.071 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02559/1.484, allocations: 14.37 MB / 1.085 GB, free: 136.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002223/1.487, allocations: 0.8455 MB / 1.086 GB, free: 135.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004532/1.487, allocations: 51.64 kB / 1.086 GB, free: 135.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.489, allocations: 207.7 kB / 1.086 GB, free: 135 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/1.49, allocations: 244.7 kB / 1.087 GB, free: 134.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.49, allocations: 67.06 kB / 1.087 GB, free: 134.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001196/1.492, allocations: 1.125 MB / 1.088 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.492, allocations: 0 / 1.088 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004512/1.496, allocations: 1.613 MB / 1.089 GB, free: 131.9 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003821/1.497, allocations: 168.1 kB / 1.09 GB, free: 131.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01821/1.515, allocations: 10.57 MB / 1.1 GB, free: 121.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.515, allocations: 0.875 kB / 1.1 GB, free: 121.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/1.529, allocations: 7.308 MB / 1.107 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/1.532, allocations: 0.5582 MB / 1.108 GB, free: 113.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/1.544, allocations: 8.696 MB / 1.116 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/1.546, allocations: 3.22 MB / 1.119 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008938/1.547, allocations: 387.3 kB / 1.12 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/1.547, allocations: 103.4 kB / 1.12 GB, free: 100.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.112e-06/1.547, allocations: 0 / 1.12 GB, free: 100.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.1024/1.65, allocations: 91.86 MB / 1.209 GB, free: 9.277 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)