Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.887/1.887, allocations: 306.1 MB / 321.4 MB, free: 10.78 MB / 250.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.001705/0.001704, allocations: 183.2 kB / 393.1 MB, free: 4.094 MB / 314.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 1.473/1.473, allocations: 225.7 MB / 0.6743 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008023/0.0008023, allocations: 88.14 kB / 0.7935 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004497, allocations: 8.75 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6338, allocations: 121.3 MB / 1.041 GB, free: 58.06 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004812/0.6387, allocations: 4.611 MB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.6436, allocations: 5.499 MB / 1.051 GB, free: 50.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.6439, allocations: 8 kB / 1.051 GB, free: 50.22 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.6447, allocations: 229.4 kB / 1.051 GB, free: 50.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0009889/0.6457, allocations: 407.2 kB / 1.051 GB, free: 49.9 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.6463, allocations: 248.2 kB / 1.052 GB, free: 49.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.6473, allocations: 0.9293 MB / 1.053 GB, free: 49.44 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.6486, allocations: 1.216 MB / 1.054 GB, free: 48.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.649, allocations: 202.4 kB / 1.054 GB, free: 48.44 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.6493, allocations: 270 kB / 1.054 GB, free: 48.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.6494, allocations: 18.56 kB / 1.054 GB, free: 48.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008492/0.6502, allocations: 454.2 kB / 1.055 GB, free: 48.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.6504, allocations: 139.5 kB / 1.055 GB, free: 48.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.6506, allocations: 241.7 kB / 1.055 GB, free: 48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.6516, allocations: 0.9471 MB / 1.056 GB, free: 47.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6517, allocations: 4 kB / 1.056 GB, free: 47.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.41e-07/0.6517, allocations: 0 / 1.056 GB, free: 47.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.6517, allocations: 0 / 1.056 GB, free: 47.75 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00121/0.6529, allocations: 0.7578 MB / 1.057 GB, free: 47.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6529, allocations: 13.5 kB / 1.057 GB, free: 47.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.6558, allocations: 0.709 MB / 1.057 GB, free: 47.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.6568, allocations: 0.5459 MB / 1.058 GB, free: 46.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.6569, allocations: 25.61 kB / 1.058 GB, free: 46.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.657, allocations: 31.09 kB / 1.058 GB, free: 46.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.6586, allocations: 0.8438 MB / 1.059 GB, free: 46.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.6586, allocations: 0 / 1.059 GB, free: 46.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.6587, allocations: 12.31 kB / 1.059 GB, free: 46.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/0.6589, allocations: 72.75 kB / 1.059 GB, free: 46.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.661, allocations: 0.9424 MB / 1.06 GB, free: 46.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003889/0.6649, allocations: 2.955 MB / 1.063 GB, free: 44.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.6664, allocations: 0.5628 MB / 1.063 GB, free: 44.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.6671, allocations: 317.8 kB / 1.063 GB, free: 43.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.6672, allocations: 92.77 kB / 1.064 GB, free: 43.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.6673, allocations: 38.45 kB / 1.064 GB, free: 43.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.905e-06/0.6673, allocations: 0 / 1.064 GB, free: 43.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.01327/0.6805, allocations: 4.088 MB / 1.068 GB, free: 42.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.6806, allocations: 80.2 kB / 1.068 GB, free: 42.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.6812, allocations: 453 kB / 1.068 GB, free: 42.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.6812, allocations: 32.64 kB / 1.068 GB, free: 42.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.6814, allocations: 238 kB / 1.068 GB, free: 42.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.689e-05/0.6815, allocations: 123.6 kB / 1.068 GB, free: 42.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.6815, allocations: 11.19 kB / 1.069 GB, free: 42.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.6816, allocations: 354.4 kB / 1.069 GB, free: 41.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000855/0.6825, allocations: 435.6 kB / 1.069 GB, free: 41.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000881/0.6834, allocations: 0.525 MB / 1.07 GB, free: 41.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.6851, allocations: 0.964 MB / 1.071 GB, free: 41.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6851, allocations: 0 / 1.071 GB, free: 41.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005726/0.6909, allocations: 1.926 MB / 1.073 GB, free: 40.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-05/0.691, allocations: 148 kB / 1.073 GB, free: 40.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.691, allocations: 2.688 kB / 1.073 GB, free: 40.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004845/0.6958, allocations: 1.096 MB / 1.074 GB, free: 40.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.6965, allocations: 129.5 kB / 1.074 GB, free: 40.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009428/0.706, allocations: 6.393 MB / 1.08 GB, free: 36.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009184/0.7069, allocations: 117 kB / 1.08 GB, free: 36.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/0.707, allocations: 18.89 kB / 1.08 GB, free: 36.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.707, allocations: 4.688 kB / 1.08 GB, free: 36.56 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005026/0.712, allocations: 1.633 MB / 1.082 GB, free: 36.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7121, allocations: 1.312 kB / 1.082 GB, free: 36.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003568/0.7156, allocations: 0.8141 MB / 1.083 GB, free: 36.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.7163, allocations: 141.3 kB / 1.083 GB, free: 36.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007965/0.7243, allocations: 5.555 MB / 1.088 GB, free: 32.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009261/0.7253, allocations: 110.2 kB / 1.088 GB, free: 32.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.7254, allocations: 18.67 kB / 1.088 GB, free: 32.36 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005207/0.7259, allocations: 346.3 kB / 1.089 GB, free: 32.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.726, allocations: 40.03 kB / 1.089 GB, free: 32.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005661/0.7317, allocations: 1.826 MB / 1.091 GB, free: 31.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7317, allocations: 7.531 kB / 1.091 GB, free: 31.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.7317, allocations: 2.281 kB / 1.091 GB, free: 31.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.7318, allocations: 5.156 kB / 1.091 GB, free: 31.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00666/0.7384, allocations: 2.567 MB / 1.093 GB, free: 30.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7385, allocations: 0.9062 kB / 1.093 GB, free: 30.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.7389, allocations: 77.83 kB / 1.093 GB, free: 30.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004391/0.7433, allocations: 1.026 MB / 1.094 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.7433, allocations: 10.42 kB / 1.094 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008454/0.7518, allocations: 6.063 MB / 1.1 GB, free: 26.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7519, allocations: 2.25 kB / 1.1 GB, free: 26.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/0.7573, allocations: 1.796 MB / 1.102 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.7577, allocations: 202.3 kB / 1.102 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/0.7578, allocations: 12.8 kB / 1.102 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/0.7584, allocations: 95.41 kB / 1.102 GB, free: 26.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.7586, allocations: 41.17 kB / 1.102 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.7587, allocations: 7.531 kB / 1.102 GB, free: 26.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004059/0.7591, allocations: 339.4 kB / 1.102 GB, free: 25.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7591, allocations: 0 / 1.102 GB, free: 25.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001258/0.7603, allocations: 284.7 kB / 1.103 GB, free: 25.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003063/0.7607, allocations: 168.8 kB / 1.103 GB, free: 25.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006491/0.7672, allocations: 2.537 MB / 1.105 GB, free: 24.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.7672, allocations: 0 / 1.105 GB, free: 24.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002639/0.7698, allocations: 0.9913 MB / 1.106 GB, free: 24.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/0.7707, allocations: 128.3 kB / 1.106 GB, free: 24.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.7732, allocations: 1.455 MB / 1.108 GB, free: 23.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.7738, allocations: 0.9563 MB / 1.109 GB, free: 22.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006255/0.7744, allocations: 156.8 kB / 1.109 GB, free: 22.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.7746, allocations: 35.84 kB / 1.109 GB, free: 22.7 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/0.7746, allocations: 0 / 1.109 GB, free: 22.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02968/0.8043, allocations: 16.78 MB / 1.125 GB, free: 13.72 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)