Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.3 MB / 308.1 MB, free: 4.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 176.5 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 96.83 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2829, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04503/0.3279, allocations: 40.74 MB / 1.022 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.4999/0.8279, allocations: 15.05 MB / 1.037 GB, free: 71.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006066/0.834, allocations: 166.8 kB / 1.037 GB, free: 71.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01076/0.8448, allocations: 4.143 MB / 1.041 GB, free: 71.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.009018/0.8538, allocations: 2.643 MB / 1.044 GB, free: 70.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009006/0.8629, allocations: 2.885 MB / 1.046 GB, free: 69.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02139/0.8843, allocations: 16.06 MB / 1.062 GB, free: 65.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0204/0.9048, allocations: 13.66 MB / 1.075 GB, free: 60.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009118/0.9139, allocations: 4.15 MB / 1.079 GB, free: 58.58 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01112/0.9251, allocations: 5.482 MB / 1.085 GB, free: 56.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.003972/0.9291, allocations: 0.6111 MB / 1.085 GB, free: 56.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008866/0.938, allocations: 2.038 MB / 1.087 GB, free: 56.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.007031/0.9451, allocations: 3.36 MB / 1.091 GB, free: 55.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01036/0.9555, allocations: 3.921 MB / 1.094 GB, free: 52.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01885/0.9744, allocations: 14.03 MB / 1.108 GB, free: 48.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.9744, allocations: 0 / 1.108 GB, free: 48.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9744, allocations: 0 / 1.108 GB, free: 48.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005065/0.9749, allocations: 2.875 kB / 1.108 GB, free: 48.9 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02509/1, allocations: 7.6 MB / 1.116 GB, free: 45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1, allocations: 13.03 kB / 1.116 GB, free: 44.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/1.011, allocations: 1.514 MB / 1.117 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/1.023, allocations: 4.205 MB / 1.121 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000505/1.023, allocations: 458.9 kB / 1.122 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003194/1.026, allocations: 0.5939 MB / 1.122 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03759/1.064, allocations: 10.68 MB / 1.133 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003956/1.064, allocations: 38.19 kB / 1.133 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002439/1.067, allocations: 260.1 kB / 1.133 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003678/1.07, allocations: 0.773 MB / 1.134 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02476/1.095, allocations: 8.559 MB / 1.142 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07909/1.174, allocations: 46.86 MB / 1.188 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006748/1.181, allocations: 4.303 MB / 1.192 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006042/1.187, allocations: 3.707 MB / 1.196 GB, free: 5.074 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005323/1.188, allocations: 38.78 kB / 1.196 GB, free: 5.035 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.093e-05/1.188, allocations: 73.34 kB / 1.196 GB, free: 4.953 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=353): time 8.827e-06/1.188, allocations: 0 / 1.196 GB, free: 4.953 MB / 0.7605 GB Notification: Performance of matching and sorting (n=578): time 0.5383/1.726, allocations: 122.7 MB / 1.316 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.442e-05/1.726, allocations: 111.9 kB / 1.316 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005349/1.732, allocations: 2.677 MB / 1.318 GB, free: 6.633 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.733, allocations: 129.6 kB / 1.318 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.735, allocations: 2.673 MB / 1.321 GB, free: 3.805 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002934/1.738, allocations: 1.957 MB / 1.323 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003701/1.742, allocations: 0.9209 MB / 1.324 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.742, allocations: 305.1 kB / 1.324 GB, free: 0.6328 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006671/1.749, allocations: 4.077 MB / 1.328 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007534/1.756, allocations: 5.015 MB / 1.333 GB, free: 7.207 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/1.772, allocations: 9.851 MB / 1.343 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.731e-05/1.772, allocations: 4 kB / 1.343 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04503/1.817, allocations: 17 MB / 1.359 GB, free: 11.85 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/1.817, allocations: 16 kB / 1.359 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.122e-05/1.817, allocations: 28.16 kB / 1.359 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03471/1.852, allocations: 9.083 MB / 1.368 GB, free: 2.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/1.855, allocations: 0.5226 MB / 1.369 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6038/2.459, allocations: 70.51 MB / 1.438 GB, free: 256.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/2.464, allocations: 287.7 kB / 1.438 GB, free: 256.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008175/2.465, allocations: 190.2 kB / 1.438 GB, free: 256.7 MB / 0.948 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004234/2.469, allocations: 2.424 MB / 1.44 GB, free: 255.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/2.47, allocations: 479.2 kB / 1.441 GB, free: 255.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03546/2.506, allocations: 16.81 MB / 1.457 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.406e-05/2.506, allocations: 59.31 kB / 1.457 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000255/2.506, allocations: 72.84 kB / 1.457 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001276/2.506, allocations: 27.14 kB / 1.457 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05382/2.56, allocations: 25.66 MB / 1.482 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.726e-05/2.56, allocations: 8.469 kB / 1.482 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/2.562, allocations: 317.6 kB / 1.483 GB, free: 239.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03117/2.594, allocations: 8.27 MB / 1.491 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001258/2.595, allocations: 109 kB / 1.491 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08931/2.684, allocations: 67.39 MB / 1.557 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/2.684, allocations: 12.59 kB / 1.557 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07272/2.757, allocations: 47.33 MB / 1.603 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004733/2.762, allocations: 1.358 MB / 1.604 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00161/2.763, allocations: 111.9 kB / 1.604 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005129/2.769, allocations: 289.1 kB / 1.605 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002788/2.771, allocations: 0.5221 MB / 1.605 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007323/2.772, allocations: 140 kB / 1.605 GB, free: 143.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0025/2.775, allocations: 1.781 MB / 1.607 GB, free: 141.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/2.775, allocations: 4 kB / 1.607 GB, free: 141.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01061/2.785, allocations: 2.781 MB / 1.61 GB, free: 139.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/2.787, allocations: 242.1 kB / 1.61 GB, free: 138.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02468/2.811, allocations: 14.48 MB / 1.624 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/2.811, allocations: 4 kB / 1.624 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01804/2.829, allocations: 9.36 MB / 1.633 GB, free: 114.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007899/2.837, allocations: 1.28 MB / 1.635 GB, free: 113.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03072/2.868, allocations: 23.01 MB / 1.657 GB, free: 90.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007703/2.876, allocations: 5.099 MB / 1.662 GB, free: 85.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003206/2.879, allocations: 0.7583 MB / 1.663 GB, free: 84.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/2.88, allocations: 199.4 kB / 1.663 GB, free: 84.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/2.88, allocations: 4 kB / 1.663 GB, free: 84.3 MB / 0.948 GB Notification: Performance of Templates: time 0.6806/3.56, allocations: 152.9 MB / 1.812 GB, free: 245.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)