Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.001266/0.001266, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 292.5 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.189/1.189, allocations: 178.5 MB / 0.5076 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 95.84 kB / 0.6066 GB, free: 9.609 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.169, allocations: 89.13 MB / 0.6936 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007268/0.1763, allocations: 5.553 MB / 0.699 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003987/0.1803, allocations: 2.634 MB / 0.7016 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.1806, allocations: 19.88 kB / 0.7016 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.1823, allocations: 0.6488 MB / 0.7023 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007392/0.183, allocations: 374.1 kB / 0.7026 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007997/0.1838, allocations: 371.3 kB / 0.703 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009859/0.1848, allocations: 0.963 MB / 0.7039 GB, free: 5.801 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007469/0.1856, allocations: 0.5143 MB / 0.7044 GB, free: 5.277 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.186, allocations: 374.6 kB / 0.7048 GB, free: 4.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.1865, allocations: 422.4 kB / 0.7052 GB, free: 4.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.1866, allocations: 48 kB / 0.7052 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.1871, allocations: 363.2 kB / 0.7056 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.1874, allocations: 247.3 kB / 0.7058 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.1878, allocations: 350.2 kB / 0.7061 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007876/0.1886, allocations: 0.7521 MB / 0.7069 GB, free: 2.754 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1886, allocations: 4 kB / 0.7069 GB, free: 2.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.025e-06/0.1886, allocations: 3.984 kB / 0.7069 GB, free: 2.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.1886, allocations: 0 / 0.7069 GB, free: 2.746 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001563/0.1902, allocations: 0.9775 MB / 0.7078 GB, free: 1.719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.1902, allocations: 8.031 kB / 0.7079 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.1916, allocations: 195.8 kB / 0.708 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.1923, allocations: 494.5 kB / 0.7085 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.1923, allocations: 41.36 kB / 0.7085 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.1925, allocations: 52.45 kB / 0.7086 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2477/0.4402, allocations: 0.8308 MB / 0.7094 GB, free: 50 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/0.4403, allocations: 4.672 kB / 0.7094 GB, free: 50 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.4404, allocations: 26.05 kB / 0.7094 GB, free: 50 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/0.4407, allocations: 64.5 kB / 0.7095 GB, free: 50 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/0.4415, allocations: 0.5732 MB / 0.7101 GB, free: 50 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.4449, allocations: 4.578 MB / 0.7145 GB, free: 46.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.4453, allocations: 293.3 kB / 0.7148 GB, free: 46.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.4455, allocations: 229.2 kB / 0.715 GB, free: 46.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.4456, allocations: 5.75 kB / 0.715 GB, free: 46.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.4456, allocations: 38.31 kB / 0.7151 GB, free: 46.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.305e-06/0.4456, allocations: 2.922 kB / 0.7151 GB, free: 46.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.004638/0.4503, allocations: 2.632 MB / 0.7176 GB, free: 45.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.4503, allocations: 58.22 kB / 0.7177 GB, free: 45.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.4506, allocations: 462.4 kB / 0.7181 GB, free: 45.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.4507, allocations: 29.7 kB / 0.7182 GB, free: 45.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.4508, allocations: 346.4 kB / 0.7185 GB, free: 44.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.111e-05/0.4509, allocations: 146.7 kB / 0.7186 GB, free: 44.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.451, allocations: 106 kB / 0.7187 GB, free: 44.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.4511, allocations: 365.6 kB / 0.7191 GB, free: 44.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.4514, allocations: 235.7 kB / 0.7193 GB, free: 44.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.4517, allocations: 407.5 kB / 0.7197 GB, free: 43.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.4523, allocations: 0.6875 MB / 0.7204 GB, free: 43.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4523, allocations: 0 / 0.7204 GB, free: 43.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001356/0.4537, allocations: 0.9196 MB / 0.7213 GB, free: 43.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4537, allocations: 11.38 kB / 0.7213 GB, free: 43.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4537, allocations: 6 kB / 0.7213 GB, free: 43.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007/0.4544, allocations: 230.8 kB / 0.7215 GB, free: 42.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.4549, allocations: 113.5 kB / 0.7216 GB, free: 42.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.4585, allocations: 5.335 MB / 0.7268 GB, free: 38.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.4589, allocations: 35.45 kB / 0.7269 GB, free: 38.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.459, allocations: 27.75 kB / 0.7269 GB, free: 38.31 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.4592, allocations: 226.7 kB / 0.7271 GB, free: 38.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.4593, allocations: 54.97 kB / 0.7272 GB, free: 38.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.4605, allocations: 0.7738 MB / 0.7279 GB, free: 37.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4606, allocations: 5.719 kB / 0.7279 GB, free: 37.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4606, allocations: 0 / 0.7279 GB, free: 37.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4606, allocations: 6.875 kB / 0.7279 GB, free: 37.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.4625, allocations: 1.493 MB / 0.7294 GB, free: 37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4625, allocations: 6.438 kB / 0.7294 GB, free: 37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.4628, allocations: 72.34 kB / 0.7295 GB, free: 36.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006016/0.4635, allocations: 205 kB / 0.7297 GB, free: 36.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.4635, allocations: 14.12 kB / 0.7297 GB, free: 36.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/0.4669, allocations: 5.281 MB / 0.7348 GB, free: 32.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4669, allocations: 0.6562 kB / 0.7348 GB, free: 32.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.4683, allocations: 1.137 MB / 0.7359 GB, free: 31.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.4685, allocations: 178 kB / 0.7361 GB, free: 31.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.4685, allocations: 13.75 kB / 0.7361 GB, free: 31.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.4689, allocations: 22.2 kB / 0.7361 GB, free: 31.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.469, allocations: 40.11 kB / 0.7362 GB, free: 31.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.469, allocations: 15.75 kB / 0.7362 GB, free: 31.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002407/0.4692, allocations: 317.9 kB / 0.7365 GB, free: 31.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4692, allocations: 0 / 0.7365 GB, free: 31.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005752/0.4698, allocations: 167.2 kB / 0.7367 GB, free: 31.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.4699, allocations: 118.1 kB / 0.7368 GB, free: 31.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.4712, allocations: 1.054 MB / 0.7378 GB, free: 30.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4713, allocations: 0 / 0.7378 GB, free: 30.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007407/0.472, allocations: 0.6827 MB / 0.7385 GB, free: 30.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008127/0.4728, allocations: 184.8 kB / 0.7386 GB, free: 30.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4745, allocations: 1.561 MB / 0.7402 GB, free: 29.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.4748, allocations: 0.9479 MB / 0.7411 GB, free: 28.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4749, allocations: 42.94 kB / 0.7411 GB, free: 28.45 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4749, allocations: 0 / 0.7411 GB, free: 28.45 MB / 0.545 GB Notification: Performance of Templates: time 0.01562/0.4905, allocations: 14.91 MB / 0.7557 GB, free: 27.35 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)