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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 196.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 70.38 kB / 0.6715 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2861, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04609/0.3322, allocations: 41.12 MB / 0.8235 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02964/0.3619, allocations: 15.08 MB / 0.8383 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005039/0.3669, allocations: 187.1 kB / 0.8384 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.3777, allocations: 4.45 MB / 0.8428 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008543/0.3863, allocations: 2.798 MB / 0.8455 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009254/0.3955, allocations: 3.162 MB / 0.8486 GB, free: 10.46 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0229/0.4185, allocations: 11.4 MB / 0.8597 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02356/0.4421, allocations: 12.63 MB / 0.8721 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/0.4536, allocations: 4.794 MB / 0.8768 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/0.4643, allocations: 5.39 MB / 0.882 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003593/0.4679, allocations: 0.9531 MB / 0.883 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007217/0.4751, allocations: 2.033 MB / 0.8849 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.007812/0.483, allocations: 3.692 MB / 0.8885 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01316/0.4962, allocations: 4.303 MB / 0.8927 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.5855/1.082, allocations: 14.19 MB / 0.9066 GB, free: 44.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.082, allocations: 0 / 0.9066 GB, free: 44.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.465e-06/1.082, allocations: 3.141 kB / 0.9066 GB, free: 44.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005176/1.082, allocations: 0.7812 kB / 0.9066 GB, free: 44.57 MB / 0.7169 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.02361/1.106, allocations: 7.591 MB / 0.914 GB, free: 42.11 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.106, allocations: 11.91 kB / 0.914 GB, free: 42.11 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/1.118, allocations: 1.518 MB / 0.9155 GB, free: 41.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/1.129, allocations: 4.207 MB / 0.9196 GB, free: 40.87 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/1.13, allocations: 461.5 kB / 0.9201 GB, free: 40.85 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002931/1.132, allocations: 0.5922 MB / 0.9206 GB, free: 40.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02736/1.16, allocations: 10.68 MB / 0.9311 GB, free: 39.72 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/1.16, allocations: 33.81 kB / 0.9311 GB, free: 39.71 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001916/1.162, allocations: 262.9 kB / 0.9313 GB, free: 39.71 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003204/1.165, allocations: 0.7735 MB / 0.9321 GB, free: 39.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01944/1.185, allocations: 8.557 MB / 0.9405 GB, free: 39.63 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05636/1.241, allocations: 46.86 MB / 0.9862 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004722/1.246, allocations: 4.31 MB / 0.9904 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004327/1.25, allocations: 3.705 MB / 0.994 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/1.25, allocations: 38.38 kB / 0.9941 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.461e-05/1.251, allocations: 73.25 kB / 0.9942 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 5.23e-06/1.251, allocations: 0 / 0.9942 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.6222/1.873, allocations: 122.8 MB / 1.114 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/1.873, allocations: 111.9 kB / 1.114 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005707/1.879, allocations: 2.677 MB / 1.117 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001708/1.88, allocations: 129.7 kB / 1.117 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00227/1.883, allocations: 2.677 MB / 1.12 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.003574/1.886, allocations: 1.956 MB / 1.121 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00425/1.891, allocations: 0.9248 MB / 1.122 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.891, allocations: 305.1 kB / 1.123 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007639/1.898, allocations: 4.079 MB / 1.127 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009358/1.908, allocations: 5.016 MB / 1.132 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/1.926, allocations: 9.85 MB / 1.141 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.315e-05/1.926, allocations: 4 kB / 1.141 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04732/1.973, allocations: 17 MB / 1.158 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/1.974, allocations: 16 kB / 1.158 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.138e-05/1.974, allocations: 24.16 kB / 1.158 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03466/2.008, allocations: 9.155 MB / 1.167 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/2.011, allocations: 0.5206 MB / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.112/2.123, allocations: 77.03 MB / 1.242 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006169/2.13, allocations: 275.8 kB / 1.243 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/2.131, allocations: 188 kB / 1.243 GB, free: 4.25 MB / 0.9669 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.005936/2.137, allocations: 2.426 MB / 1.245 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/2.138, allocations: 474.5 kB / 1.246 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03967/2.178, allocations: 16.82 MB / 1.262 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.356e-05/2.178, allocations: 56 kB / 1.262 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002368/2.178, allocations: 71.28 kB / 1.262 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001334/2.179, allocations: 27.89 kB / 1.262 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6557/2.834, allocations: 25.65 MB / 1.287 GB, free: 363.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-05/2.834, allocations: 9.406 kB / 1.287 GB, free: 363.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/2.836, allocations: 322.8 kB / 1.288 GB, free: 363.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03229/2.869, allocations: 8.343 MB / 1.296 GB, free: 362.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002036/2.871, allocations: 111 kB / 1.296 GB, free: 362.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09344/2.964, allocations: 73.89 MB / 1.368 GB, free: 322.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/2.964, allocations: 11.94 kB / 1.368 GB, free: 322.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03832/3.003, allocations: 21.56 MB / 1.389 GB, free: 300.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004758/3.008, allocations: 1.358 MB / 1.39 GB, free: 299.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001679/3.009, allocations: 111.9 kB / 1.391 GB, free: 299.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004433/3.014, allocations: 292.5 kB / 1.391 GB, free: 298.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002181/3.016, allocations: 0.5204 MB / 1.391 GB, free: 298.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000455/3.016, allocations: 144 kB / 1.392 GB, free: 298.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002773/3.019, allocations: 1.78 MB / 1.393 GB, free: 296.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/3.019, allocations: 0 / 1.393 GB, free: 296.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01055/3.03, allocations: 2.465 MB / 1.396 GB, free: 294 MB / 0.9981 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.001129/3.031, allocations: 241.9 kB / 1.396 GB, free: 293.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03238/3.063, allocations: 18.65 MB / 1.414 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/3.063, allocations: 6.859 kB / 1.414 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01932/3.083, allocations: 9.367 MB / 1.423 GB, free: 265.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/3.093, allocations: 1.377 MB / 1.425 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03102/3.124, allocations: 15.72 MB / 1.44 GB, free: 248.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00782/3.132, allocations: 4.897 MB / 1.445 GB, free: 243.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004098/3.136, allocations: 0.741 MB / 1.445 GB, free: 242.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009995/3.137, allocations: 199.4 kB / 1.446 GB, free: 242.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/3.137, allocations: 0 / 1.446 GB, free: 242.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.2127/3.349, allocations: 147.5 MB / 1.59 GB, free: 96.23 MB / 0.9981 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)