Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.009316/0.009316, allocations: 103.4 kB / 15.74 MB, free: 6.008 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.002065/0.002065, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.663/1.663, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.002224/0.002224, allocations: 67.91 kB / 0.7258 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7237, allocations: 104.7 MB / 0.828 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04892/0.7727, allocations: 41.09 MB / 0.8682 GB, free: 9.375 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02966/0.8025, allocations: 15.09 MB / 0.8829 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006313/0.8088, allocations: 187.1 kB / 0.8831 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01339/0.8223, allocations: 4.471 MB / 0.8875 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.8333, allocations: 2.919 MB / 0.8903 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01111/0.8445, allocations: 3.15 MB / 0.8934 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01909/0.8636, allocations: 11.37 MB / 0.9045 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02397/0.8876, allocations: 12.45 MB / 0.9166 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.9001, allocations: 4.888 MB / 0.9214 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/0.9127, allocations: 5.386 MB / 0.9267 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.005276/0.918, allocations: 0.9492 MB / 0.9276 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00887/0.9269, allocations: 2.036 MB / 0.9296 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01009/0.937, allocations: 3.68 MB / 0.9332 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01329/0.9504, allocations: 4.287 MB / 0.9374 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02596/0.9764, allocations: 14.26 MB / 0.9513 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.9764, allocations: 4 kB / 0.9513 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9765, allocations: 0 / 0.9513 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0007398/0.9772, allocations: 0 / 0.9513 GB, free: 3.914 MB / 0.7481 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.03319/1.01, allocations: 7.612 MB / 0.9587 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 9.065e-05/1.011, allocations: 8.031 kB / 0.9587 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/1.024, allocations: 1.522 MB / 0.9602 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/1.04, allocations: 4.435 MB / 0.9646 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006832/1.04, allocations: 456.4 kB / 0.965 GB, free: 5.719 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004176/1.045, allocations: 0.5978 MB / 0.9656 GB, free: 5.121 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03933/1.084, allocations: 10.67 MB / 0.976 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006572/1.085, allocations: 31.67 kB / 0.976 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003745/1.088, allocations: 271.9 kB / 0.9763 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003438/1.092, allocations: 0.7768 MB / 0.9771 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02448/1.116, allocations: 8.557 MB / 0.9854 GB, free: 424 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08282/1.199, allocations: 46.51 MB / 1.031 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007149/1.206, allocations: 4.32 MB / 1.035 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006229/1.213, allocations: 3.712 MB / 1.039 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004495/1.213, allocations: 38.77 kB / 1.039 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.986e-05/1.213, allocations: 77.34 kB / 1.039 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=353): time 6.302e-06/1.213, allocations: 0 / 1.039 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=578): time 1.196/2.409, allocations: 122.8 MB / 1.159 GB, free: 223.1 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/2.409, allocations: 111.9 kB / 1.159 GB, free: 223 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006372/2.416, allocations: 2.681 MB / 1.161 GB, free: 220.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001724/2.418, allocations: 121.7 kB / 1.162 GB, free: 220.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001943/2.42, allocations: 2.678 MB / 1.164 GB, free: 217.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.002905/2.423, allocations: 1.95 MB / 1.166 GB, free: 215.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004353/2.427, allocations: 0.9248 MB / 1.167 GB, free: 214.6 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/2.427, allocations: 305.1 kB / 1.167 GB, free: 214.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006294/2.433, allocations: 4.083 MB / 1.171 GB, free: 210.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006619/2.44, allocations: 5.011 MB / 1.176 GB, free: 204.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01361/2.454, allocations: 9.851 MB / 1.186 GB, free: 194.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-05/2.454, allocations: 11.94 kB / 1.186 GB, free: 194.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04178/2.495, allocations: 17 MB / 1.202 GB, free: 177.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/2.496, allocations: 12 kB / 1.202 GB, free: 177.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.77e-05/2.496, allocations: 24 kB / 1.202 GB, free: 177.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03152/2.527, allocations: 9.081 MB / 1.211 GB, free: 168.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/2.53, allocations: 0.5265 MB / 1.212 GB, free: 167.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1023/2.632, allocations: 76.95 MB / 1.287 GB, free: 89.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007025/2.639, allocations: 283.8 kB / 1.287 GB, free: 89.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/2.641, allocations: 191.9 kB / 1.287 GB, free: 88.89 MB / 0.9044 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.00689/2.648, allocations: 2.427 MB / 1.29 GB, free: 86.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002718/2.651, allocations: 470.5 kB / 1.29 GB, free: 85.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04142/2.692, allocations: 16.82 MB / 1.307 GB, free: 69.03 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/2.692, allocations: 56 kB / 1.307 GB, free: 68.97 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002799/2.692, allocations: 72 kB / 1.307 GB, free: 68.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001456/2.693, allocations: 27.89 kB / 1.307 GB, free: 68.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06434/2.757, allocations: 25.65 MB / 1.332 GB, free: 42.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.353e-05/2.757, allocations: 8.938 kB / 1.332 GB, free: 42.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/2.759, allocations: 315.5 kB / 1.332 GB, free: 42.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02954/2.789, allocations: 8.279 MB / 1.34 GB, free: 34.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001515/2.79, allocations: 107.9 kB / 1.34 GB, free: 34.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1057/2.896, allocations: 73.83 MB / 1.412 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/2.896, allocations: 11.94 kB / 1.412 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0494/2.946, allocations: 21.56 MB / 1.433 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005744/2.951, allocations: 1.354 MB / 1.435 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002797/2.954, allocations: 111.9 kB / 1.435 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005662/2.96, allocations: 283.6 kB / 1.435 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003291/2.963, allocations: 0.5296 MB / 1.436 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001227/2.964, allocations: 144 kB / 1.436 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004394/2.969, allocations: 1.776 MB / 1.438 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.51e-07/2.969, allocations: 2.812 kB / 1.438 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01264/2.982, allocations: 2.445 MB / 1.44 GB, free: 10.29 MB / 0.9825 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.00176/2.983, allocations: 251.5 kB / 1.44 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.03372/3.017, allocations: 14.54 MB / 1.454 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.261e-05/3.017, allocations: 4 kB / 1.454 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.02353/3.041, allocations: 9.346 MB / 1.464 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01217/3.053, allocations: 1.377 MB / 1.465 GB, free: 496 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04921/3.102, allocations: 15.57 MB / 1.48 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01269/3.115, allocations: 4.893 MB / 1.485 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003759/3.119, allocations: 0.7332 MB / 1.486 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009706/3.12, allocations: 207.4 kB / 1.486 GB, free: 10.93 MB / 1.029 GB Notification: Performance of SimCode: time 1.152e-06/3.12, allocations: 0 / 1.486 GB, free: 10.93 MB / 1.029 GB Notification: Performance of Templates: time 0.8101/3.93, allocations: 146.9 MB / 1.629 GB, free: 243.8 MB / 1.029 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)