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.004826/0.004826, allocations: 102 kB / 15.73 MB, free: 6.043 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.001134/0.001134, allocations: 195 kB / 16.67 MB, free: 5.965 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 278.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9161/0.9161, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 95.86 kB / 0.6815 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4015, allocations: 86.98 MB / 0.7664 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04006/0.4416, allocations: 37.57 MB / 0.8031 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.464, allocations: 13.05 MB / 0.8158 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006236/0.4703, allocations: 171.1 kB / 0.816 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.4804, allocations: 3.892 MB / 0.8198 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007712/0.4881, allocations: 2.612 MB / 0.8224 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006599/0.4947, allocations: 2.713 MB / 0.825 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.5052, allocations: 9.595 MB / 0.8344 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01518/0.5204, allocations: 10.49 MB / 0.8446 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006512/0.527, allocations: 4.07 MB / 0.8486 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007595/0.5346, allocations: 4.385 MB / 0.8529 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00245/0.5371, allocations: 0.7695 MB / 0.8536 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005354/0.5424, allocations: 1.779 MB / 0.8554 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004824/0.5473, allocations: 3.037 MB / 0.8583 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007014/0.5543, allocations: 3.583 MB / 0.8618 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.5676, allocations: 11.85 MB / 0.8734 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5676, allocations: 0 / 0.8734 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5676, allocations: 0 / 0.8734 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002541/0.5679, allocations: 0 / 0.8734 GB, free: 5.883 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.01221/0.5801, allocations: 6.37 MB / 0.8796 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5801, allocations: 8.031 kB / 0.8796 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007428/0.5876, allocations: 1.297 MB / 0.8809 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006665/0.5943, allocations: 3.787 MB / 0.8846 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.5945, allocations: 382.5 kB / 0.885 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009447/0.5955, allocations: 0.4963 MB / 0.8854 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.6098, allocations: 8.89 MB / 0.8941 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.6099, allocations: 27.72 kB / 0.8941 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005506/0.6105, allocations: 224 kB / 0.8944 GB, free: 15.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001798/0.6123, allocations: 0.6342 MB / 0.895 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.6236, allocations: 7.01 MB / 0.9018 GB, free: 8.242 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04351/0.6671, allocations: 40.05 MB / 0.9409 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/0.6709, allocations: 2.89 MB / 0.9438 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003327/0.6743, allocations: 2.667 MB / 0.9464 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.6744, allocations: 34.02 kB / 0.9464 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/0.6745, allocations: 68.59 kB / 0.9465 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 4.037e-06/0.6745, allocations: 0 / 0.9465 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.5909/1.265, allocations: 74.69 MB / 1.019 GB, free: 151.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/1.266, allocations: 98.2 kB / 1.019 GB, free: 151.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/1.268, allocations: 2.367 MB / 1.022 GB, free: 148.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000443/1.268, allocations: 93.7 kB / 1.022 GB, free: 148.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008623/1.269, allocations: 2.336 MB / 1.024 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009162/1.27, allocations: 1.442 MB / 1.026 GB, free: 144.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/1.271, allocations: 0.7254 MB / 1.026 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.739e-05/1.271, allocations: 301.1 kB / 1.027 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003321/1.275, allocations: 2.995 MB / 1.03 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003614/1.278, allocations: 3.843 MB / 1.033 GB, free: 136.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007346/1.286, allocations: 7.38 MB / 1.04 GB, free: 129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.286, allocations: 12 kB / 1.04 GB, free: 129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02264/1.308, allocations: 12.56 MB / 1.053 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/1.308, allocations: 14.34 kB / 1.053 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/1.309, allocations: 24 kB / 1.053 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0189/1.327, allocations: 6.017 MB / 1.059 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/1.329, allocations: 499.2 kB / 1.059 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06448/1.394, allocations: 72.98 MB / 1.13 GB, free: 33.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003415/1.397, allocations: 215.8 kB / 1.131 GB, free: 33.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003997/1.398, allocations: 148 kB / 1.131 GB, free: 33.12 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.002561/1.4, allocations: 1.998 MB / 1.133 GB, free: 31.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007254/1.401, allocations: 391.4 kB / 1.133 GB, free: 30.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0234/1.424, allocations: 12.23 MB / 1.145 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/1.424, allocations: 44.08 kB / 1.145 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001113/1.425, allocations: 48 kB / 1.145 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-05/1.425, allocations: 27.84 kB / 1.145 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03109/1.456, allocations: 19.14 MB / 1.164 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.456, allocations: 8 kB / 1.164 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.457, allocations: 291.5 kB / 1.164 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01895/1.476, allocations: 5.584 MB / 1.17 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/1.476, allocations: 76 kB / 1.17 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07701/1.553, allocations: 70.62 MB / 1.239 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.553, allocations: 11.94 kB / 1.239 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02929/1.583, allocations: 15.61 MB / 1.254 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002906/1.586, allocations: 1.051 MB / 1.255 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004919/1.586, allocations: 79.98 kB / 1.255 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.588, allocations: 215.7 kB / 1.255 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001399/1.59, allocations: 394.4 kB / 1.256 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/1.59, allocations: 111.9 kB / 1.256 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002017/1.592, allocations: 1.556 MB / 1.257 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/1.592, allocations: 7.938 kB / 1.257 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004953/1.597, allocations: 1.859 MB / 1.259 GB, free: 9.863 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.0004706/1.597, allocations: 221.5 kB / 1.259 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01919/1.617, allocations: 12.2 MB / 1.271 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.617, allocations: 7.906 kB / 1.271 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01468/1.631, allocations: 8.356 MB / 1.279 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/1.637, allocations: 1.199 MB / 1.28 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/1.656, allocations: 12.18 MB / 1.292 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00443/1.661, allocations: 4.09 MB / 1.296 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002125/1.663, allocations: 0.6669 MB / 1.297 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/1.663, allocations: 179.4 kB / 1.297 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of SimCode: time 9.02e-07/1.663, allocations: 0 / 1.297 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of Templates: time 0.483/2.146, allocations: 110.8 MB / 1.405 GB, free: 213.4 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)