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.001113/0.001113, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001073/0.001073, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.958/1.958, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.002405/0.002405, allocations: 68.28 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2414, allocations: 114.6 MB / 0.784 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.4331/0.6746, allocations: 41.12 MB / 0.8242 GB, free: 25.06 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02442/0.699, allocations: 15.08 MB / 0.8389 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005754/0.7048, allocations: 188.4 kB / 0.8391 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01116/0.7161, allocations: 4.458 MB / 0.8434 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00902/0.7251, allocations: 2.793 MB / 0.8462 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008843/0.734, allocations: 3.154 MB / 0.8493 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01698/0.751, allocations: 11.4 MB / 0.8604 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01962/0.7707, allocations: 12.64 MB / 0.8727 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01219/0.7829, allocations: 4.798 MB / 0.8774 GB, free: 10.87 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01311/0.7961, allocations: 5.379 MB / 0.8827 GB, free: 6.246 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003921/0.8001, allocations: 0.9492 MB / 0.8836 GB, free: 5.293 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008071/0.8081, allocations: 2.036 MB / 0.8856 GB, free: 3.254 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006769/0.815, allocations: 3.699 MB / 0.8892 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009883/0.8249, allocations: 4.303 MB / 0.8934 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01888/0.8438, allocations: 14.19 MB / 0.9073 GB, free: 13 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.8438, allocations: 0 / 0.9073 GB, free: 13 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8438, allocations: 0 / 0.9073 GB, free: 13 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004682/0.8443, allocations: 0 / 0.9073 GB, free: 13 MB / 0.7012 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.02143/0.8658, allocations: 7.6 MB / 0.9147 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.8658, allocations: 8.031 kB / 0.9147 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.8765, allocations: 1.515 MB / 0.9162 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008914/0.8855, allocations: 4.209 MB / 0.9203 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003752/0.8859, allocations: 460.4 kB / 0.9207 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002367/0.8883, allocations: 0.5939 MB / 0.9213 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02337/0.9117, allocations: 10.68 MB / 0.9317 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/0.9119, allocations: 39.61 kB / 0.9318 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001493/0.9134, allocations: 263.9 kB / 0.932 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003015/0.9165, allocations: 0.7768 MB / 0.9328 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.9353, allocations: 8.561 MB / 0.9411 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0652/1.001, allocations: 46.84 MB / 0.9869 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005901/1.007, allocations: 4.303 MB / 0.9911 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005214/1.012, allocations: 3.708 MB / 0.9947 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/1.012, allocations: 42.72 kB / 0.9947 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.454e-05/1.012, allocations: 77.27 kB / 0.9948 GB, free: 14.96 MB / 0.795 GB Notification: Performance of pre-optimization done (n=353): time 5.079e-06/1.012, allocations: 0 / 0.9948 GB, free: 14.96 MB / 0.795 GB Notification: Performance of matching and sorting (n=578): time 0.5271/1.539, allocations: 122.8 MB / 1.115 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/1.539, allocations: 111.9 kB / 1.115 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004238/1.544, allocations: 2.677 MB / 1.117 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001188/1.545, allocations: 121.7 kB / 1.118 GB, free: 376 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.547, allocations: 2.679 MB / 1.12 GB, free: 13.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003077/1.55, allocations: 1.948 MB / 1.122 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002417/1.553, allocations: 0.9209 MB / 1.123 GB, free: 10.75 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.553, allocations: 309.1 kB / 1.123 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006767/1.56, allocations: 4.083 MB / 1.127 GB, free: 6.355 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008377/1.568, allocations: 5.011 MB / 1.132 GB, free: 1.016 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4373/2.005, allocations: 9.854 MB / 1.142 GB, free: 281 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.154e-05/2.005, allocations: 9.188 kB / 1.142 GB, free: 281 MB / 0.92 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04252/2.048, allocations: 16.99 MB / 1.158 GB, free: 275 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/2.048, allocations: 19.58 kB / 1.158 GB, free: 275 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.315e-05/2.048, allocations: 20.97 kB / 1.158 GB, free: 275 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03238/2.08, allocations: 9.146 MB / 1.167 GB, free: 272.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/2.083, allocations: 0.5244 MB / 1.168 GB, free: 272.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09519/2.178, allocations: 77.03 MB / 1.243 GB, free: 225.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005237/2.184, allocations: 282.3 kB / 1.243 GB, free: 224.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009728/2.185, allocations: 192 kB / 1.244 GB, free: 224.7 MB / 0.92 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.004293/2.189, allocations: 2.424 MB / 1.246 GB, free: 222.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/2.19, allocations: 470.5 kB / 1.246 GB, free: 221.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03459/2.225, allocations: 16.82 MB / 1.263 GB, free: 204.8 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/2.225, allocations: 56 kB / 1.263 GB, free: 204.8 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002011/2.225, allocations: 72 kB / 1.263 GB, free: 204.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/2.225, allocations: 31.89 kB / 1.263 GB, free: 204.7 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04908/2.274, allocations: 25.66 MB / 1.288 GB, free: 178.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.627e-05/2.274, allocations: 7.984 kB / 1.288 GB, free: 178.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/2.276, allocations: 319.5 kB / 1.288 GB, free: 178.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02737/2.303, allocations: 8.336 MB / 1.296 GB, free: 170.1 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001282/2.305, allocations: 108 kB / 1.297 GB, free: 170 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08405/2.389, allocations: 73.89 MB / 1.369 GB, free: 94.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/2.389, allocations: 11.94 kB / 1.369 GB, free: 94.56 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03949/2.428, allocations: 21.57 MB / 1.39 GB, free: 72.65 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0038/2.432, allocations: 1.354 MB / 1.391 GB, free: 71.27 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001709/2.434, allocations: 111.9 kB / 1.391 GB, free: 71.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004353/2.438, allocations: 286.4 kB / 1.392 GB, free: 70.89 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002361/2.441, allocations: 0.5221 MB / 1.392 GB, free: 70.36 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006771/2.441, allocations: 148.6 kB / 1.392 GB, free: 70.21 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002418/2.444, allocations: 1.776 MB / 1.394 GB, free: 68.45 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.032e-06/2.444, allocations: 0 / 1.394 GB, free: 68.45 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.009884/2.454, allocations: 2.465 MB / 1.396 GB, free: 65.98 MB / 0.92 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.001372/2.455, allocations: 243.6 kB / 1.397 GB, free: 65.74 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.03257/2.488, allocations: 18.66 MB / 1.415 GB, free: 46.93 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/2.488, allocations: 4 kB / 1.415 GB, free: 46.92 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01736/2.505, allocations: 9.357 MB / 1.424 GB, free: 37.42 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008326/2.514, allocations: 1.378 MB / 1.425 GB, free: 36.21 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/2.543, allocations: 16.65 MB / 1.441 GB, free: 19.55 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007232/2.55, allocations: 4.994 MB / 1.446 GB, free: 14.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/2.551, allocations: 211.4 kB / 1.447 GB, free: 14.31 MB / 0.92 GB Notification: Performance of SimCode: time 8.51e-07/2.551, allocations: 0 / 1.447 GB, free: 14.31 MB / 0.92 GB Notification: Performance of Templates: time 1.176/3.727, allocations: 474.6 MB / 1.91 GB, free: 317.6 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)