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.005406/0.005406, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.001107/0.001107, allocations: 197.2 kB / 16.67 MB, free: 5.527 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 282.5 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9676/0.9676, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00308/0.00308, allocations: 95.84 kB / 0.6815 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4544, allocations: 86.98 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03808/0.4926, allocations: 37.58 MB / 0.8031 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.5144, allocations: 13.04 MB / 0.8158 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004253/0.5186, allocations: 171.1 kB / 0.816 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.5289, allocations: 3.892 MB / 0.8198 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007391/0.5363, allocations: 2.604 MB / 0.8223 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006868/0.5432, allocations: 2.709 MB / 0.825 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01156/0.5548, allocations: 9.595 MB / 0.8344 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01462/0.5694, allocations: 10.5 MB / 0.8446 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006953/0.5764, allocations: 4.074 MB / 0.8486 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007195/0.5836, allocations: 4.377 MB / 0.8529 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002399/0.586, allocations: 0.7695 MB / 0.8536 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.5911, allocations: 1.779 MB / 0.8554 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004802/0.5959, allocations: 3.037 MB / 0.8583 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007207/0.6032, allocations: 3.591 MB / 0.8618 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.6176, allocations: 11.84 MB / 0.8734 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6176, allocations: 0 / 0.8734 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6176, allocations: 0 / 0.8734 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003635/0.618, allocations: 0 / 0.8734 GB, free: 5.945 MB / 0.6387 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.01584/0.6338, allocations: 6.366 MB / 0.8796 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.6339, allocations: 8.031 kB / 0.8796 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008179/0.6421, allocations: 1.297 MB / 0.8809 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006846/0.6489, allocations: 3.79 MB / 0.8846 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.6493, allocations: 382.4 kB / 0.885 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/0.6506, allocations: 0.4924 MB / 0.8854 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/0.6663, allocations: 8.898 MB / 0.8941 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/0.6665, allocations: 23.77 kB / 0.8941 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005881/0.6671, allocations: 220 kB / 0.8944 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002314/0.6694, allocations: 0.6304 MB / 0.895 GB, free: 15.33 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.6819, allocations: 7.01 MB / 0.9018 GB, free: 8.309 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04406/0.726, allocations: 40.06 MB / 0.9409 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/0.7299, allocations: 2.89 MB / 0.9438 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003338/0.7333, allocations: 2.667 MB / 0.9464 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.7334, allocations: 30.09 kB / 0.9464 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.7335, allocations: 68.53 kB / 0.9465 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 3.747e-06/0.7335, allocations: 0 / 0.9465 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.6313/1.365, allocations: 74.69 MB / 1.019 GB, free: 151.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.365, allocations: 94.73 kB / 1.019 GB, free: 151.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.367, allocations: 2.363 MB / 1.022 GB, free: 148.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005827/1.368, allocations: 97.7 kB / 1.022 GB, free: 148.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008416/1.369, allocations: 2.34 MB / 1.024 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009328/1.37, allocations: 1.438 MB / 1.026 GB, free: 145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/1.371, allocations: 0.7215 MB / 1.026 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.507e-05/1.371, allocations: 301.1 kB / 1.027 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0033/1.374, allocations: 3.003 MB / 1.03 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003611/1.378, allocations: 3.847 MB / 1.033 GB, free: 136.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00726/1.385, allocations: 7.384 MB / 1.04 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/1.385, allocations: 4 kB / 1.04 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02367/1.409, allocations: 12.56 MB / 1.053 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/1.409, allocations: 12 kB / 1.053 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/1.409, allocations: 27.98 kB / 1.053 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02082/1.43, allocations: 6.025 MB / 1.059 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/1.432, allocations: 495.2 kB / 1.059 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06728/1.499, allocations: 72.98 MB / 1.13 GB, free: 33.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003803/1.503, allocations: 215.8 kB / 1.131 GB, free: 33.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003619/1.503, allocations: 152 kB / 1.131 GB, free: 33.17 MB / 0.7325 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.002781/1.506, allocations: 1.994 MB / 1.133 GB, free: 31.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007284/1.507, allocations: 391.4 kB / 1.133 GB, free: 30.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02462/1.531, allocations: 12.23 MB / 1.145 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/1.531, allocations: 43.94 kB / 1.145 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001226/1.532, allocations: 48 kB / 1.145 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.659e-05/1.532, allocations: 23.92 kB / 1.145 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03288/1.565, allocations: 19.14 MB / 1.164 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.565, allocations: 8 kB / 1.164 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.566, allocations: 291.5 kB / 1.164 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02098/1.587, allocations: 5.583 MB / 1.17 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005133/1.588, allocations: 83.98 kB / 1.17 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08373/1.671, allocations: 70.61 MB / 1.239 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.671, allocations: 15.88 kB / 1.239 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03129/1.703, allocations: 15.61 MB / 1.254 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002486/1.705, allocations: 1.051 MB / 1.255 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006942/1.706, allocations: 79.98 kB / 1.255 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/1.709, allocations: 215.7 kB / 1.255 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001454/1.71, allocations: 402.3 kB / 1.256 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/1.71, allocations: 108 kB / 1.256 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002172/1.713, allocations: 1.564 MB / 1.257 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/1.713, allocations: 0 / 1.257 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.006157/1.719, allocations: 1.863 MB / 1.259 GB, free: 9.906 MB / 0.8419 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.0006452/1.719, allocations: 214.9 kB / 1.259 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02158/1.741, allocations: 12.19 MB / 1.271 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/1.741, allocations: 7.906 kB / 1.271 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0154/1.756, allocations: 8.352 MB / 1.279 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00604/1.762, allocations: 1.197 MB / 1.28 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/1.783, allocations: 12.19 MB / 1.292 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004707/1.788, allocations: 4.093 MB / 1.296 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002551/1.79, allocations: 0.6708 MB / 1.297 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004903/1.791, allocations: 179.4 kB / 1.297 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of SimCode: time 9.12e-07/1.791, allocations: 7.938 kB / 1.297 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of Templates: time 0.4788/2.27, allocations: 110.8 MB / 1.405 GB, free: 213.5 MB / 0.8731 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)