Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.44/2.44, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 201.4 kB / 329.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.678/2.678, allocations: 225.6 MB / 0.6001 GB, free: 476 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 102.2 kB / 0.7074 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000643/0.0006435, allocations: 10.94 kB / 0.8242 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2539, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05644/0.3104, allocations: 37.43 MB / 0.9673 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03564/0.3461, allocations: 14.38 MB / 0.9814 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005091/0.3513, allocations: 163.1 kB / 0.9815 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004818/0.3562, allocations: 0.8371 MB / 0.9823 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009923/0.3661, allocations: 2.332 MB / 0.9846 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009058/0.3752, allocations: 1.898 MB / 0.9865 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.02182/0.3971, allocations: 12.75 MB / 0.9989 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04211/0.4393, allocations: 14.57 MB / 1.013 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009932/0.4493, allocations: 3.556 MB / 1.017 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.669/1.118, allocations: 4.636 MB / 1.021 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.003896/1.122, allocations: 398.1 kB / 1.022 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007999/1.13, allocations: 0.8866 MB / 1.022 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.008264/1.139, allocations: 2.962 MB / 1.025 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.005336/1.144, allocations: 1.385 MB / 1.027 GB, free: 23.8 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.02067/1.165, allocations: 11.75 MB / 1.038 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.165, allocations: 3.156 kB / 1.038 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.936e-06/1.165, allocations: 0 / 1.038 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005622/1.165, allocations: 0.8438 kB / 1.038 GB, free: 23.3 MB / 0.6511 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.02646/1.192, allocations: 6.223 MB / 1.044 GB, free: 20.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.192, allocations: 9.938 kB / 1.044 GB, free: 20.75 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/1.209, allocations: 1.521 MB / 1.046 GB, free: 20.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/1.224, allocations: 4.097 MB / 1.05 GB, free: 19.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006541/1.225, allocations: 462.8 kB / 1.05 GB, free: 19.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004944/1.23, allocations: 0.5959 MB / 1.051 GB, free: 19.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04047/1.27, allocations: 10.64 MB / 1.061 GB, free: 16.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004154/1.271, allocations: 33.67 kB / 1.061 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002852/1.273, allocations: 267.6 kB / 1.061 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005277/1.279, allocations: 0.7748 MB / 1.062 GB, free: 16.33 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02885/1.308, allocations: 8.51 MB / 1.07 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0929/1.401, allocations: 46.98 MB / 1.116 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/1.411, allocations: 4.295 MB / 1.121 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01006/1.421, allocations: 3.676 MB / 1.124 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007112/1.422, allocations: 37.41 kB / 1.124 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.227e-05/1.422, allocations: 77.34 kB / 1.124 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=353): time 6.181e-06/1.422, allocations: 0 / 1.124 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of matching and sorting (n=578): time 1.125/2.547, allocations: 127.9 MB / 1.249 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/2.547, allocations: 107.9 kB / 1.249 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/2.558, allocations: 2.657 MB / 1.252 GB, free: 436 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001689/2.559, allocations: 125.7 kB / 1.252 GB, free: 304 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003187/2.563, allocations: 2.669 MB / 1.255 GB, free: 13.61 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004124/2.567, allocations: 1.96 MB / 1.256 GB, free: 11.67 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/2.568, allocations: 112 kB / 1.257 GB, free: 11.56 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0005297/2.568, allocations: 0.5296 MB / 1.257 GB, free: 11.02 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01384/2.582, allocations: 4.056 MB / 1.261 GB, free: 6.961 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01869/2.601, allocations: 4.987 MB / 1.266 GB, free: 1.656 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/2.62, allocations: 4.823 MB / 1.271 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.763e-05/2.62, allocations: 8 kB / 1.271 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.08612/2.706, allocations: 16.93 MB / 1.287 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.341e-05/2.706, allocations: 20.17 kB / 1.287 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.252e-05/2.707, allocations: 28 kB / 1.287 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06147/2.768, allocations: 9.057 MB / 1.296 GB, free: 3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004951/2.773, allocations: 0.5274 MB / 1.297 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8909/3.664, allocations: 70.61 MB / 1.366 GB, free: 315 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008646/3.673, allocations: 277.9 kB / 1.366 GB, free: 315 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/3.674, allocations: 195.1 kB / 1.366 GB, free: 315 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009008/3.684, allocations: 2.423 MB / 1.368 GB, free: 314.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002202/3.686, allocations: 474.2 kB / 1.369 GB, free: 314.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07523/3.761, allocations: 16.77 MB / 1.385 GB, free: 311.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.741e-05/3.761, allocations: 53.94 kB / 1.385 GB, free: 311.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002913/3.761, allocations: 72.47 kB / 1.385 GB, free: 311.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001314/3.762, allocations: 27.44 kB / 1.385 GB, free: 311.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1113/3.873, allocations: 25.65 MB / 1.41 GB, free: 301.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001021/3.873, allocations: 7.719 kB / 1.41 GB, free: 301.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0036/3.877, allocations: 320.4 kB / 1.411 GB, free: 301.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05359/3.93, allocations: 8.249 MB / 1.419 GB, free: 299.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00157/3.932, allocations: 107.6 kB / 1.419 GB, free: 299.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1586/4.091, allocations: 67.47 MB / 1.485 GB, free: 238.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/4.091, allocations: 11.94 kB / 1.485 GB, free: 238.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07418/4.165, allocations: 21.51 MB / 1.506 GB, free: 216.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005345/4.17, allocations: 1.365 MB / 1.507 GB, free: 214.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002404/4.173, allocations: 104 kB / 1.507 GB, free: 214.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007221/4.18, allocations: 291.6 kB / 1.507 GB, free: 214.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002876/4.183, allocations: 0.526 MB / 1.508 GB, free: 214 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001227/4.184, allocations: 140 kB / 1.508 GB, free: 213.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004103/4.188, allocations: 1.756 MB / 1.51 GB, free: 212.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.082e-06/4.188, allocations: 0 / 1.51 GB, free: 212.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01374/4.202, allocations: 2.441 MB / 1.512 GB, free: 209.6 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002333/4.204, allocations: 250.5 kB / 1.512 GB, free: 209.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.05627/4.261, allocations: 14.49 MB / 1.527 GB, free: 194.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-05/4.261, allocations: 0 / 1.527 GB, free: 194.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.03513/4.296, allocations: 9.362 MB / 1.536 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01141/4.307, allocations: 1.281 MB / 1.537 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/4.348, allocations: 18.1 MB / 1.555 GB, free: 165.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009635/4.358, allocations: 4.896 MB / 1.559 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004735/4.362, allocations: 0.741 MB / 1.56 GB, free: 160 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/4.364, allocations: 203.4 kB / 1.56 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of SimCode: time 9.82e-07/4.364, allocations: 0 / 1.56 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.3119/4.675, allocations: 135.3 MB / 1.693 GB, free: 25.26 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)