Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001397/0.001398, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00169/0.00169, allocations: 274.5 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004512, allocations: 15.69 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.161, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03723/0.1983, allocations: 36.35 MB / 0.7206 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.2181, allocations: 12.9 MB / 0.7332 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.2217, allocations: 151.1 kB / 0.7334 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002656/0.2244, allocations: 0.7597 MB / 0.7341 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006916/0.2313, allocations: 2.356 MB / 0.7364 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005754/0.2371, allocations: 2.298 MB / 0.7387 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01393/0.251, allocations: 13.36 MB / 0.7517 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3294/0.5805, allocations: 13.2 MB / 0.7646 GB, free: 20.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006032/0.5865, allocations: 2.94 MB / 0.7675 GB, free: 20.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007481/0.594, allocations: 3.865 MB / 0.7713 GB, free: 20.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.5952, allocations: 318.6 kB / 0.7716 GB, free: 20.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.5991, allocations: 1.637 MB / 0.7732 GB, free: 20.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003258/0.6024, allocations: 2.462 MB / 0.7756 GB, free: 19.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005065/0.6075, allocations: 2.951 MB / 0.7784 GB, free: 19.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.6212, allocations: 11.3 MB / 0.7895 GB, free: 17.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6212, allocations: 1.219 kB / 0.7895 GB, free: 17.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6212, allocations: 4 kB / 0.7895 GB, free: 17.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003644/0.6216, allocations: 0 / 0.7895 GB, free: 17.98 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01417/0.6358, allocations: 5.145 MB / 0.7945 GB, free: 15.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.6358, allocations: 9.25 kB / 0.7945 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009603/0.6454, allocations: 1.31 MB / 0.7958 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007386/0.6529, allocations: 3.561 MB / 0.7993 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.6531, allocations: 379.4 kB / 0.7996 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001726/0.6549, allocations: 0.4985 MB / 0.8001 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/0.6715, allocations: 8.881 MB / 0.8088 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001475/0.6717, allocations: 34.52 kB / 0.8088 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006488/0.6724, allocations: 223.1 kB / 0.809 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.6745, allocations: 0.632 MB / 0.8097 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.6888, allocations: 7.01 MB / 0.8165 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05634/0.7452, allocations: 40.43 MB / 0.856 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005321/0.7506, allocations: 2.895 MB / 0.8588 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005232/0.7558, allocations: 2.669 MB / 0.8614 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003587/0.7562, allocations: 33.66 kB / 0.8614 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/0.7563, allocations: 60.66 kB / 0.8615 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=265): time 4.859e-06/0.7563, allocations: 8 kB / 0.8615 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=424): time 0.3157/1.072, allocations: 77.49 MB / 0.9372 GB, free: 15.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/1.072, allocations: 98.73 kB / 0.9373 GB, free: 15.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003801/1.076, allocations: 2.355 MB / 0.9396 GB, free: 13.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007636/1.077, allocations: 97.7 kB / 0.9397 GB, free: 12.92 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/1.078, allocations: 2.334 MB / 0.942 GB, free: 10.57 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001959/1.08, allocations: 1.434 MB / 0.9434 GB, free: 9.148 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009081/1.081, allocations: 343 kB / 0.9437 GB, free: 8.805 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/1.081, allocations: 305.1 kB / 0.944 GB, free: 8.504 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00486/1.086, allocations: 2.995 MB / 0.9469 GB, free: 5.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005561/1.092, allocations: 3.851 MB / 0.9507 GB, free: 1.328 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/1.103, allocations: 7.384 MB / 0.9579 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/1.103, allocations: 8 kB / 0.9579 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03201/1.135, allocations: 12.55 MB / 0.9701 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-05/1.135, allocations: 16 kB / 0.9702 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.036e-05/1.136, allocations: 24.16 kB / 0.9702 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02363/1.159, allocations: 6.03 MB / 0.9761 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/1.161, allocations: 492.3 kB / 0.9765 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08497/1.246, allocations: 67.29 MB / 1.042 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004899/1.251, allocations: 211.8 kB / 1.042 GB, free: 388 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007657/1.252, allocations: 156 kB / 1.043 GB, free: 232 kB / 0.7637 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.3066/1.559, allocations: 1.984 MB / 1.045 GB, free: 263.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.56, allocations: 388.7 kB / 1.045 GB, free: 263.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02903/1.589, allocations: 12.24 MB / 1.057 GB, free: 262.9 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.736e-05/1.589, allocations: 39.41 kB / 1.057 GB, free: 262.9 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001699/1.589, allocations: 50.25 kB / 1.057 GB, free: 262.9 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.987e-05/1.589, allocations: 20.34 kB / 1.057 GB, free: 262.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03975/1.629, allocations: 19.18 MB / 1.076 GB, free: 255.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/1.629, allocations: 5.188 kB / 1.076 GB, free: 255.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/1.631, allocations: 286.3 kB / 1.076 GB, free: 255.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01996/1.651, allocations: 5.579 MB / 1.081 GB, free: 254.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009163/1.652, allocations: 82.72 kB / 1.081 GB, free: 254.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06312/1.715, allocations: 64.92 MB / 1.145 GB, free: 199 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/1.715, allocations: 15.94 kB / 1.145 GB, free: 199 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02849/1.743, allocations: 15.6 MB / 1.16 GB, free: 183.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002576/1.746, allocations: 1.047 MB / 1.161 GB, free: 182.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007848/1.747, allocations: 91.86 kB / 1.161 GB, free: 182.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/1.749, allocations: 215.7 kB / 1.161 GB, free: 181.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/1.751, allocations: 398.4 kB / 1.162 GB, free: 181.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002723/1.751, allocations: 108 kB / 1.162 GB, free: 181.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001869/1.753, allocations: 1.556 MB / 1.163 GB, free: 179.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/1.753, allocations: 4 kB / 1.163 GB, free: 179.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005864/1.759, allocations: 1.863 MB / 1.165 GB, free: 177.9 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004879/1.759, allocations: 218.7 kB / 1.165 GB, free: 177.7 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01726/1.777, allocations: 12.19 MB / 1.177 GB, free: 165.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.777, allocations: 4.062 kB / 1.177 GB, free: 165.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01308/1.79, allocations: 8.384 MB / 1.186 GB, free: 156.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008897/1.799, allocations: 1.107 MB / 1.187 GB, free: 155.4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.817, allocations: 14.85 MB / 1.201 GB, free: 140.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003972/1.821, allocations: 4.082 MB / 1.205 GB, free: 136.4 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002558/1.824, allocations: 0.6708 MB / 1.206 GB, free: 135.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/1.824, allocations: 183.4 kB / 1.206 GB, free: 135.6 MB / 0.7637 GB Notification: Performance of SimCode: time 7.02e-07/1.824, allocations: 0 / 1.206 GB, free: 135.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.1391/1.963, allocations: 105.1 MB / 1.309 GB, free: 31.5 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)