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.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.254/2.254, allocations: 255 MB / 269.9 MB, free: 9.633 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.001482/0.001482, allocations: 186.1 kB / 329.5 MB, free: 1.156 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.556/2.556, allocations: 225.6 MB / 0.6001 GB, free: 0.5156 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.001035/0.001034, allocations: 98.44 kB / 0.7074 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007167/0.000717, allocations: 15.34 kB / 0.8242 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2245, allocations: 109.1 MB / 0.9308 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01686/0.2414, allocations: 10.78 MB / 0.9413 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.2526, allocations: 5.219 MB / 0.9464 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.2541, allocations: 31.88 kB / 0.9464 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.2557, allocations: 290 kB / 0.9467 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.258, allocations: 0.5325 MB / 0.9472 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.2604, allocations: 0.4948 MB / 0.9477 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004096/0.2645, allocations: 2.941 MB / 0.9506 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008085/0.2727, allocations: 4.038 MB / 0.9545 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.2748, allocations: 0.7823 MB / 0.9553 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.2775, allocations: 1.086 MB / 0.9563 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000606/0.2782, allocations: 104 kB / 0.9564 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.28, allocations: 319.7 kB / 0.9568 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.2815, allocations: 0.7443 MB / 0.9575 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008476/0.2824, allocations: 368.8 kB / 0.9578 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005218/0.2876, allocations: 3.258 MB / 0.961 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.2877, allocations: 0 / 0.961 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2877, allocations: 7.938 kB / 0.961 GB, free: 8.723 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001026/0.2878, allocations: 0 / 0.961 GB, free: 8.723 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006421/0.2942, allocations: 1.761 MB / 0.9627 GB, free: 6.906 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.2943, allocations: 12.03 kB / 0.9628 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005646/0.3, allocations: 0.748 MB / 0.9635 GB, free: 6.141 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/0.3042, allocations: 1.232 MB / 0.9647 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.3044, allocations: 123.6 kB / 0.9648 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000631/0.3051, allocations: 164.1 kB / 0.965 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008773/0.3139, allocations: 2.944 MB / 0.9678 GB, free: 1.574 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.866e-05/0.314, allocations: 3.984 kB / 0.9678 GB, free: 1.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/0.3143, allocations: 64 kB / 0.9679 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007736/0.3151, allocations: 207 kB / 0.9681 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.326, allocations: 2.503 MB / 0.9705 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0334/0.3595, allocations: 10.91 MB / 0.9812 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.363, allocations: 0.9081 MB / 0.9821 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.365, allocations: 0.5073 MB / 0.9826 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.3653, allocations: 93.45 kB / 0.9827 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/0.3654, allocations: 38.94 kB / 0.9827 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 5.481e-06/0.3654, allocations: 0 / 0.9827 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70): time 0.0694/0.4348, allocations: 8.977 MB / 0.9915 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.4349, allocations: 85.67 kB / 0.9915 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.437, allocations: 0.9376 MB / 0.9925 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.4372, allocations: 37.7 kB / 0.9925 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007866/0.438, allocations: 0.7736 MB / 0.9933 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/0.4383, allocations: 252.5 kB / 0.9935 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.4385, allocations: 24 kB / 0.9935 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00023/0.4387, allocations: 390.8 kB / 0.9939 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.4409, allocations: 0.8028 MB / 0.9947 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.4433, allocations: 1.16 MB / 0.9958 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/0.4459, allocations: 0.9946 MB / 0.9968 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.4459, allocations: 4 kB / 0.9968 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01829/0.4642, allocations: 3.783 MB / 1 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003606/0.4646, allocations: 421.1 kB / 1.001 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.4646, allocations: 12 kB / 1.001 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01628/0.4809, allocations: 2.159 MB / 1.003 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.4827, allocations: 223.6 kB / 1.003 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0282/0.5109, allocations: 10.25 MB / 1.013 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.5136, allocations: 203.5 kB / 1.013 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/0.5139, allocations: 51.88 kB / 1.013 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5139, allocations: 4 kB / 1.013 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01977/0.5337, allocations: 3.072 MB / 1.016 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-05/0.5339, allocations: 8 kB / 1.016 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02042/0.5544, allocations: 1.367 MB / 1.018 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/0.5566, allocations: 287.6 kB / 1.018 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/0.5761, allocations: 6.152 MB / 1.024 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.5783, allocations: 171.6 kB / 1.024 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.5785, allocations: 48 kB / 1.024 GB, free: 5.875 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001968/0.5804, allocations: 0.8986 MB / 1.025 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/0.5808, allocations: 86.97 kB / 1.025 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/0.5976, allocations: 3.32 MB / 1.029 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/0.5977, allocations: 8 kB / 1.029 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.5977, allocations: 11.94 kB / 1.029 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.5978, allocations: 3.984 kB / 1.029 GB, free: 1.508 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6815/1.279, allocations: 5.48 MB / 1.034 GB, free: 94.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.497e-05/1.279, allocations: 3.031 kB / 1.034 GB, free: 94.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.281, allocations: 108.2 kB / 1.034 GB, free: 94.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02118/1.302, allocations: 1.979 MB / 1.036 GB, free: 94.04 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002285/1.302, allocations: 15.47 kB / 1.036 GB, free: 94.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03568/1.338, allocations: 9.64 MB / 1.045 GB, free: 88.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.338, allocations: 4.625 kB / 1.045 GB, free: 88.96 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02226/1.36, allocations: 3.203 MB / 1.048 GB, free: 88.06 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.362, allocations: 332.6 kB / 1.049 GB, free: 87.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004312/1.362, allocations: 17.67 kB / 1.049 GB, free: 87.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003022/1.365, allocations: 154.2 kB / 1.049 GB, free: 87.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005127/1.366, allocations: 63.27 kB / 1.049 GB, free: 87.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.533e-05/1.366, allocations: 19.59 kB / 1.049 GB, free: 87.85 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001511/1.367, allocations: 0.673 MB / 1.05 GB, free: 87.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.91e-07/1.367, allocations: 6 kB / 1.05 GB, free: 87.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003606/1.371, allocations: 0.6776 MB / 1.05 GB, free: 87.52 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003751/1.371, allocations: 140.5 kB / 1.051 GB, free: 87.42 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.385, allocations: 3.907 MB / 1.054 GB, free: 85.97 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.385, allocations: 0 / 1.054 GB, free: 85.97 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003748/1.388, allocations: 1.318 MB / 1.056 GB, free: 85.37 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.391, allocations: 241.8 kB / 1.056 GB, free: 85.31 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009756/1.401, allocations: 4.077 MB / 1.06 GB, free: 83.28 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002715/1.403, allocations: 1.722 MB / 1.062 GB, free: 82.34 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002534/1.406, allocations: 0.5137 MB / 1.062 GB, free: 82.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/1.406, allocations: 62.22 kB / 1.062 GB, free: 82.29 MB / 0.6667 GB Notification: Performance of SimCode: time 1.212e-06/1.406, allocations: 4 kB / 1.062 GB, free: 82.29 MB / 0.6667 GB Notification: Performance of Templates: time 0.07012/1.477, allocations: 29.41 MB / 1.091 GB, free: 63.36 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)