Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001489/0.001489, allocations: 191.9 kB / 16.14 MB, free: 6.66 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.6 MB / 0.7447 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.14 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3836, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01456/0.3982, allocations: 10.05 MB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007167/0.4055, allocations: 3.178 MB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.4069, allocations: 31.81 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.4092, allocations: 0.5556 MB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.4116, allocations: 0.7003 MB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.4136, allocations: 0.6825 MB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005091/0.4187, allocations: 4.478 MB / 1.087 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004884/0.4236, allocations: 2.842 MB / 1.09 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.4259, allocations: 1.067 MB / 1.091 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/0.4289, allocations: 1.609 MB / 1.092 GB, free: 1.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008248/0.4297, allocations: 164 kB / 1.092 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.4317, allocations: 0.5031 MB / 1.093 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002079/0.4338, allocations: 1.009 MB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.4365, allocations: 1.027 MB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005079/0.4416, allocations: 3.622 MB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4416, allocations: 0 / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4416, allocations: 0 / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001484/0.4418, allocations: 0 / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006814/0.4486, allocations: 2.146 MB / 1.1 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.4487, allocations: 8.031 kB / 1.1 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00919/0.4579, allocations: 1.317 MB / 1.102 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003081/0.461, allocations: 1.259 MB / 1.103 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.4612, allocations: 111.4 kB / 1.103 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008233/0.462, allocations: 148.3 kB / 1.103 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006503/0.4685, allocations: 3.433 MB / 1.107 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.4686, allocations: 3.938 kB / 1.107 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.4689, allocations: 71.95 kB / 1.107 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002811/0.4692, allocations: 207.1 kB / 1.107 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005458/0.4746, allocations: 3.12 MB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02251/0.4972, allocations: 13.63 MB / 1.123 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.5003, allocations: 1.728 MB / 1.125 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002349/0.5027, allocations: 1.436 MB / 1.126 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.5029, allocations: 13 kB / 1.126 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.5029, allocations: 43.56 kB / 1.126 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 4.458e-06/0.503, allocations: 0 / 1.126 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183): time 0.2325/0.7355, allocations: 36.67 MB / 1.162 GB, free: 8.742 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.7356, allocations: 73.41 kB / 1.162 GB, free: 8.656 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.7385, allocations: 1.05 MB / 1.163 GB, free: 7.582 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006055/0.7391, allocations: 53.7 kB / 1.163 GB, free: 7.523 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000883/0.74, allocations: 0.7911 MB / 1.164 GB, free: 6.723 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.7414, allocations: 0.6199 MB / 1.165 GB, free: 6.094 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001887/0.7433, allocations: 363.4 kB / 1.165 GB, free: 5.734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7435, allocations: 301.1 kB / 1.165 GB, free: 5.438 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/0.7471, allocations: 1.932 MB / 1.167 GB, free: 3.504 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003494/0.7506, allocations: 2.285 MB / 1.169 GB, free: 1.094 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00655/0.7571, allocations: 4.391 MB / 1.174 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/0.7572, allocations: 4 kB / 1.174 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02171/0.7789, allocations: 9.02 MB / 1.182 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/0.779, allocations: 15.94 kB / 1.182 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.779, allocations: 8 kB / 1.183 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01795/0.797, allocations: 4.97 MB / 1.187 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/0.7979, allocations: 187.7 kB / 1.188 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05772/0.8557, allocations: 35.3 MB / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.8577, allocations: 99.83 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003912/0.8581, allocations: 71.98 kB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001602/0.8597, allocations: 0.8079 MB / 1.223 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.8601, allocations: 142.3 kB / 1.223 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02014/0.8803, allocations: 8.89 MB / 1.232 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.8803, allocations: 20 kB / 1.232 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-05/0.8804, allocations: 28 kB / 1.232 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/0.8805, allocations: 11.97 kB / 1.232 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/0.9085, allocations: 13.29 MB / 1.245 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/0.9085, allocations: 4 kB / 1.245 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.909, allocations: 119.8 kB / 1.245 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5943/1.503, allocations: 4.759 MB / 1.25 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003514/1.504, allocations: 35.55 kB / 1.25 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05454/1.558, allocations: 31.57 MB / 1.28 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.558, allocations: 6.781 kB / 1.28 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/1.577, allocations: 8.402 MB / 1.289 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.579, allocations: 0.6154 MB / 1.289 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005532/1.579, allocations: 34.53 kB / 1.289 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.581, allocations: 94.17 kB / 1.289 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001044/1.582, allocations: 159.6 kB / 1.29 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/1.582, allocations: 49 kB / 1.29 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001122/1.583, allocations: 0.7437 MB / 1.29 GB, free: 154 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.583, allocations: 0 / 1.29 GB, free: 154 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004912/1.588, allocations: 1.003 MB / 1.291 GB, free: 153.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005453/1.589, allocations: 148 kB / 1.291 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.601, allocations: 5.853 MB / 1.297 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.601, allocations: 0.875 kB / 1.297 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00777/1.609, allocations: 3.832 MB / 1.301 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.611, allocations: 232.4 kB / 1.301 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008725/1.62, allocations: 5.802 MB / 1.307 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/1.622, allocations: 1.855 MB / 1.309 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009985/1.623, allocations: 345.6 kB / 1.309 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/1.623, allocations: 64.03 kB / 1.309 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.283e-06/1.623, allocations: 4 kB / 1.309 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06921/1.692, allocations: 57.86 MB / 1.365 GB, free: 88.61 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)