Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.426/2.426, allocations: 254.9 MB / 269.9 MB, free: 9.656 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.001328/0.001328, allocations: 196.1 kB / 329.5 MB, free: 1.172 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.518/2.518, allocations: 225.6 MB / 0.6001 GB, free: 2.148 MB / 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.0009535/0.0009532, allocations: 103.6 kB / 0.7074 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005213/0.0005214, allocations: 10.41 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2474, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01912/0.2666, allocations: 13.23 MB / 0.9437 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.2846, allocations: 9.705 MB / 0.9532 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.2863, allocations: 51.62 kB / 0.9532 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.2874, allocations: 269.8 kB / 0.9535 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.2932, allocations: 1.47 MB / 0.9549 GB, free: 320 kB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.2956, allocations: 0.5184 MB / 0.9554 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006071/0.3017, allocations: 2.914 MB / 0.9583 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005469/0.3072, allocations: 1.888 MB / 0.9601 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/0.3108, allocations: 1.285 MB / 0.9614 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.3138, allocations: 1.043 MB / 0.9624 GB, free: 8.602 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005676/0.3145, allocations: 68 kB / 0.9624 GB, free: 8.535 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.3166, allocations: 439.4 kB / 0.9629 GB, free: 8.105 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.3178, allocations: 0.4945 MB / 0.9633 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009368/0.3188, allocations: 352.8 kB / 0.9637 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00499/0.3238, allocations: 2.127 MB / 0.9658 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3239, allocations: 0 / 0.9658 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3239, allocations: 4 kB / 0.9658 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.25e-05/0.324, allocations: 0 / 0.9658 GB, free: 5.117 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.007315/0.3313, allocations: 1.851 MB / 0.9676 GB, free: 3.211 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.3314, allocations: 8.031 kB / 0.9676 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02954/0.3609, allocations: 2.183 MB / 0.9697 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005636/0.3666, allocations: 1.16 MB / 0.9708 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.3669, allocations: 82.69 kB / 0.9709 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008482/0.3677, allocations: 128 kB / 0.971 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/0.3821, allocations: 2.687 MB / 0.9737 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.788e-05/0.3823, allocations: 11.94 kB / 0.9737 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/0.3827, allocations: 51.97 kB / 0.9737 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00163/0.3843, allocations: 194.1 kB / 0.9739 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0191/0.4035, allocations: 2.838 MB / 0.9767 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02765/0.4312, allocations: 10.57 MB / 0.987 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/0.4446, allocations: 2.391 MB / 0.9893 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006247/0.4509, allocations: 1.304 MB / 0.9906 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.4511, allocations: 17 kB / 0.9906 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.4511, allocations: 43.56 kB / 0.9907 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 3.887e-06/0.4512, allocations: 0 / 0.9907 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=153): time 0.1162/0.5673, allocations: 16.5 MB / 1.007 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.5674, allocations: 68.72 kB / 1.007 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.57, allocations: 1.164 MB / 1.008 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004364/0.5705, allocations: 49.7 kB / 1.008 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008791/0.5714, allocations: 0.7436 MB / 1.009 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.5724, allocations: 0.516 MB / 1.009 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.5727, allocations: 28 kB / 1.009 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.5729, allocations: 369.8 kB / 1.01 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007018/0.58, allocations: 1.53 MB / 1.011 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007376/0.5874, allocations: 1.795 MB / 1.013 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007382/0.5948, allocations: 1.642 MB / 1.014 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.5949, allocations: 4 kB / 1.014 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02614/0.6211, allocations: 5.3 MB / 1.02 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.6211, allocations: 8 kB / 1.02 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.6212, allocations: 4 kB / 1.02 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01451/0.6357, allocations: 1.899 MB / 1.022 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/0.6396, allocations: 419.3 kB / 1.022 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7055/1.345, allocations: 22.14 MB / 1.044 GB, free: 87.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/1.35, allocations: 317.2 kB / 1.044 GB, free: 87.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004712/1.351, allocations: 66.98 kB / 1.044 GB, free: 87.72 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001692/1.352, allocations: 464 kB / 1.044 GB, free: 87.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000712/1.353, allocations: 183.4 kB / 1.045 GB, free: 87.44 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02542/1.378, allocations: 5.347 MB / 1.05 GB, free: 85.72 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/1.379, allocations: 19 kB / 1.05 GB, free: 85.72 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.971e-05/1.379, allocations: 19.27 kB / 1.05 GB, free: 85.72 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.381e-05/1.379, allocations: 7.406 kB / 1.05 GB, free: 85.72 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03111/1.41, allocations: 7.45 MB / 1.057 GB, free: 83.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/1.41, allocations: 2.188 kB / 1.057 GB, free: 83.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/1.413, allocations: 364.2 kB / 1.057 GB, free: 83.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/1.425, allocations: 1.704 MB / 1.059 GB, free: 82.72 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004179/1.425, allocations: 44.09 kB / 1.059 GB, free: 82.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0392/1.464, allocations: 21.35 MB / 1.08 GB, free: 67.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.464, allocations: 2.969 kB / 1.08 GB, free: 67.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0222/1.486, allocations: 4.915 MB / 1.085 GB, free: 64.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/1.488, allocations: 498.4 kB / 1.085 GB, free: 64.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006216/1.489, allocations: 32.09 kB / 1.085 GB, free: 64.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004425/1.493, allocations: 332 kB / 1.086 GB, free: 64.15 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007446/1.494, allocations: 154.3 kB / 1.086 GB, free: 64.06 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002782/1.494, allocations: 50.62 kB / 1.086 GB, free: 64.05 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001692/1.496, allocations: 0.7778 MB / 1.087 GB, free: 63.61 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.61e-07/1.496, allocations: 4 kB / 1.087 GB, free: 63.61 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003768/1.5, allocations: 0.6544 MB / 1.087 GB, free: 63.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006677/1.501, allocations: 149.7 kB / 1.087 GB, free: 63.42 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01972/1.52, allocations: 5.191 MB / 1.092 GB, free: 60.25 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.52, allocations: 3.719 kB / 1.092 GB, free: 60.25 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.01209/1.533, allocations: 3.365 MB / 1.096 GB, free: 58.01 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004431/1.537, allocations: 0.5207 MB / 1.096 GB, free: 57.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.551, allocations: 4.856 MB / 1.101 GB, free: 53.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/1.553, allocations: 1.564 MB / 1.102 GB, free: 51.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002771/1.555, allocations: 390.4 kB / 1.103 GB, free: 51.51 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/1.556, allocations: 107.4 kB / 1.103 GB, free: 51.41 MB / 0.6667 GB Notification: Performance of SimCode: time 1.483e-06/1.556, allocations: 0 / 1.103 GB, free: 51.41 MB / 0.6667 GB Notification: Performance of Templates: time 0.09456/1.651, allocations: 41.45 MB / 1.143 GB, free: 10.19 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)