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.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.818/1.818, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001423/0.001423, allocations: 176.5 kB / 393.1 MB, free: 4.07 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.448/1.448, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.001202/0.001202, allocations: 97.95 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005161/0.0005162, allocations: 9.188 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7498/0.7503, allocations: 121.3 MB / 1.041 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005455/0.7558, allocations: 4.54 MB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005217/0.7611, allocations: 4.85 MB / 1.05 GB, free: 51.39 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004289/0.7616, allocations: 4 kB / 1.05 GB, free: 51.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006681/0.7623, allocations: 175.3 kB / 1.05 GB, free: 51.3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.7634, allocations: 348.5 kB / 1.051 GB, free: 51.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.7641, allocations: 246.1 kB / 1.051 GB, free: 50.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.7652, allocations: 0.8681 MB / 1.052 GB, free: 50.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.7667, allocations: 1.201 MB / 1.053 GB, free: 49.78 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.767, allocations: 197.5 kB / 1.053 GB, free: 49.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/0.7675, allocations: 270 kB / 1.053 GB, free: 49.61 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.7675, allocations: 20.25 kB / 1.053 GB, free: 49.61 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.7685, allocations: 365.8 kB / 1.054 GB, free: 49.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.7688, allocations: 137.7 kB / 1.054 GB, free: 49.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.769, allocations: 236 kB / 1.054 GB, free: 49.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.7705, allocations: 0.876 MB / 1.055 GB, free: 49.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.7705, allocations: 0 / 1.055 GB, free: 49.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7705, allocations: 0 / 1.055 GB, free: 49.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.7705, allocations: 0 / 1.055 GB, free: 49.07 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.001587/0.7721, allocations: 0.744 MB / 1.056 GB, free: 48.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.7722, allocations: 11.19 kB / 1.056 GB, free: 48.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/0.7752, allocations: 0.6959 MB / 1.056 GB, free: 48.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.7763, allocations: 494.7 kB / 1.057 GB, free: 48.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.7764, allocations: 20.58 kB / 1.057 GB, free: 48.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.7765, allocations: 36.56 kB / 1.057 GB, free: 48.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.7783, allocations: 0.8405 MB / 1.058 GB, free: 47.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.7783, allocations: 0.5 kB / 1.058 GB, free: 47.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.7784, allocations: 13 kB / 1.058 GB, free: 47.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/0.7786, allocations: 68.16 kB / 1.058 GB, free: 47.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.7807, allocations: 0.9435 MB / 1.059 GB, free: 47.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.7845, allocations: 2.937 MB / 1.061 GB, free: 45.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.7859, allocations: 0.5579 MB / 1.062 GB, free: 45.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.7866, allocations: 316.7 kB / 1.062 GB, free: 45.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-05/0.7867, allocations: 86.47 kB / 1.062 GB, free: 45.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.7868, allocations: 38.56 kB / 1.062 GB, free: 45.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 3.165e-06/0.7868, allocations: 5.062 kB / 1.062 GB, free: 45.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.01153/0.7983, allocations: 3.649 MB / 1.066 GB, free: 44.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.7984, allocations: 87.41 kB / 1.066 GB, free: 44.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.7989, allocations: 417.5 kB / 1.066 GB, free: 44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.035e-05/0.799, allocations: 36.98 kB / 1.067 GB, free: 43.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.7991, allocations: 236.2 kB / 1.067 GB, free: 43.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.125e-05/0.7992, allocations: 101.7 kB / 1.067 GB, free: 43.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.7992, allocations: 11.12 kB / 1.067 GB, free: 43.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.7993, allocations: 342.9 kB / 1.067 GB, free: 43.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008342/0.8002, allocations: 400.8 kB / 1.068 GB, free: 43.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008549/0.801, allocations: 490.6 kB / 1.068 GB, free: 43.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.8027, allocations: 0.8634 MB / 1.069 GB, free: 42.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8027, allocations: 0 / 1.069 GB, free: 42.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005005/0.8077, allocations: 1.727 MB / 1.071 GB, free: 42.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.485e-05/0.8078, allocations: 146.6 kB / 1.071 GB, free: 42.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8078, allocations: 3.312 kB / 1.071 GB, free: 42.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/0.8119, allocations: 0.9806 MB / 1.072 GB, free: 42.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.8126, allocations: 137 kB / 1.072 GB, free: 42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00747/0.8201, allocations: 6.398 MB / 1.078 GB, free: 37.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008372/0.8209, allocations: 125.4 kB / 1.078 GB, free: 37.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.821, allocations: 11.75 kB / 1.078 GB, free: 37.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.821, allocations: 2.844 kB / 1.078 GB, free: 37.29 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004793/0.8258, allocations: 1.663 MB / 1.08 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.8259, allocations: 2.156 kB / 1.08 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/0.8289, allocations: 0.7204 MB / 1.08 GB, free: 36.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.8296, allocations: 142.7 kB / 1.081 GB, free: 36.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005202/0.8348, allocations: 5.429 MB / 1.086 GB, free: 32.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/0.8357, allocations: 110.8 kB / 1.086 GB, free: 32.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.8357, allocations: 14.92 kB / 1.086 GB, free: 32.19 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004353/0.8362, allocations: 332.5 kB / 1.086 GB, free: 31.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.8363, allocations: 45.88 kB / 1.086 GB, free: 31.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004873/0.8412, allocations: 1.629 MB / 1.088 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.8412, allocations: 3.281 kB / 1.088 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.8412, allocations: 2.625 kB / 1.088 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.8412, allocations: 0 / 1.088 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005901/0.8472, allocations: 2.315 MB / 1.09 GB, free: 30.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.8472, allocations: 4.391 kB / 1.09 GB, free: 30.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.8476, allocations: 89.72 kB / 1.09 GB, free: 30.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003726/0.8514, allocations: 0.9194 MB / 1.091 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.8515, allocations: 9.797 kB / 1.091 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006754/0.8582, allocations: 6.237 MB / 1.097 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8583, allocations: 1.094 kB / 1.097 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004774/0.863, allocations: 1.637 MB / 1.099 GB, free: 25.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.8634, allocations: 181.2 kB / 1.099 GB, free: 25.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/0.8635, allocations: 10.38 kB / 1.099 GB, free: 25.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/0.864, allocations: 92.53 kB / 1.099 GB, free: 25.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.8642, allocations: 35.12 kB / 1.099 GB, free: 25.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.8643, allocations: 16.41 kB / 1.099 GB, free: 25.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000347/0.8646, allocations: 309.1 kB / 1.1 GB, free: 25.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8646, allocations: 1.281 kB / 1.1 GB, free: 25.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001035/0.8657, allocations: 244.1 kB / 1.1 GB, free: 25 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002131/0.8659, allocations: 121.1 kB / 1.1 GB, free: 24.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004311/0.8702, allocations: 2.259 MB / 1.102 GB, free: 23.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.8702, allocations: 0 / 1.102 GB, free: 23.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.8717, allocations: 0.8309 MB / 1.103 GB, free: 23.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.8724, allocations: 111.6 kB / 1.103 GB, free: 23.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.8745, allocations: 1.341 MB / 1.104 GB, free: 22.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.8749, allocations: 0.9343 MB / 1.105 GB, free: 21.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005838/0.8755, allocations: 160.4 kB / 1.105 GB, free: 21.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.8757, allocations: 34.84 kB / 1.105 GB, free: 21.67 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.8757, allocations: 1.094 kB / 1.105 GB, free: 21.67 MB / 0.698 GB Notification: Performance of Templates: time 0.02685/0.9025, allocations: 14.2 MB / 1.119 GB, free: 19.43 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)