Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.717/1.717, allocations: 306.1 MB / 321.4 MB, free: 10.79 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.001017/0.001017, allocations: 183.5 kB / 393.1 MB, free: 4.109 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.639/1.639, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008775/0.0008776, allocations: 94.72 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 13.03 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.6141, allocations: 121.3 MB / 1.041 GB, free: 58.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01103/0.6252, allocations: 10.93 MB / 1.052 GB, free: 51.51 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009789/0.635, allocations: 8.444 MB / 1.06 GB, free: 44.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.6366, allocations: 30.16 kB / 1.06 GB, free: 44.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.6381, allocations: 315.5 kB / 1.06 GB, free: 43.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.6403, allocations: 0.6037 MB / 1.061 GB, free: 43.56 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.6426, allocations: 0.6787 MB / 1.061 GB, free: 43.17 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004234/0.6469, allocations: 3.762 MB / 1.065 GB, free: 41.97 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006508/0.6534, allocations: 5.628 MB / 1.071 GB, free: 38.58 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.6552, allocations: 0.7829 MB / 1.071 GB, free: 38.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.6574, allocations: 1.12 MB / 1.072 GB, free: 37.88 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005711/0.658, allocations: 99.47 kB / 1.073 GB, free: 37.88 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.6597, allocations: 0.4957 MB / 1.073 GB, free: 37.74 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.6609, allocations: 0.7296 MB / 1.074 GB, free: 37.5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.663, allocations: 0.8589 MB / 1.075 GB, free: 36.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005314/0.6684, allocations: 3.71 MB / 1.078 GB, free: 36.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.6684, allocations: 0 / 1.078 GB, free: 36.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/0.6684, allocations: 4 kB / 1.078 GB, free: 36.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001389/0.6685, allocations: 3.938 kB / 1.078 GB, free: 36.16 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005139/0.6737, allocations: 1.747 MB / 1.08 GB, free: 35.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6738, allocations: 9.5 kB / 1.08 GB, free: 35.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.6771, allocations: 0.7525 MB / 1.081 GB, free: 35.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.6797, allocations: 1.249 MB / 1.082 GB, free: 34.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.6798, allocations: 119.9 kB / 1.082 GB, free: 34.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.6802, allocations: 168.7 kB / 1.082 GB, free: 34.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00524/0.6854, allocations: 2.941 MB / 1.085 GB, free: 33.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/0.6855, allocations: 6.188 kB / 1.085 GB, free: 33.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.6857, allocations: 67.62 kB / 1.085 GB, free: 33.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004108/0.6861, allocations: 202.5 kB / 1.085 GB, free: 33.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/0.6905, allocations: 2.505 MB / 1.088 GB, free: 32.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.7028, allocations: 10.9 MB / 1.098 GB, free: 24.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.7041, allocations: 0.9184 MB / 1.099 GB, free: 24.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.7048, allocations: 0.5066 MB / 1.1 GB, free: 23.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.7049, allocations: 89.02 kB / 1.1 GB, free: 23.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.7049, allocations: 37.75 kB / 1.1 GB, free: 23.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 2.735e-06/0.7049, allocations: 1.125 kB / 1.1 GB, free: 23.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.0266/0.7316, allocations: 8.985 MB / 1.109 GB, free: 21.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.7316, allocations: 85.48 kB / 1.109 GB, free: 21.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.7332, allocations: 0.9394 MB / 1.11 GB, free: 21.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.7333, allocations: 37.33 kB / 1.11 GB, free: 21.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/0.7339, allocations: 0.7806 MB / 1.11 GB, free: 20.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.7341, allocations: 247.9 kB / 1.111 GB, free: 20.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.7342, allocations: 24.44 kB / 1.111 GB, free: 20.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7344, allocations: 395.6 kB / 1.111 GB, free: 20.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.7357, allocations: 0.797 MB / 1.112 GB, free: 19.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.7373, allocations: 1.166 MB / 1.113 GB, free: 19.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/0.7401, allocations: 1.993 MB / 1.115 GB, free: 18.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.7401, allocations: 2.75 kB / 1.115 GB, free: 18.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0105/0.7506, allocations: 3.788 MB / 1.119 GB, free: 16.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002663/0.7509, allocations: 424.4 kB / 1.119 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.7509, allocations: 14.39 kB / 1.119 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008727/0.7597, allocations: 2.164 MB / 1.121 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/0.7606, allocations: 228.6 kB / 1.121 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.7747, allocations: 10.24 MB / 1.131 GB, free: 6.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.7762, allocations: 199.5 kB / 1.132 GB, free: 6.383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/0.7763, allocations: 51.92 kB / 1.132 GB, free: 6.332 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.7763, allocations: 4 kB / 1.132 GB, free: 6.328 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006707/0.783, allocations: 3.072 MB / 1.135 GB, free: 3.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/0.7831, allocations: 12 kB / 1.135 GB, free: 3.238 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004756/0.7878, allocations: 1.363 MB / 1.136 GB, free: 1.871 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.7889, allocations: 287.5 kB / 1.136 GB, free: 1.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.799, allocations: 6.154 MB / 1.142 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.8003, allocations: 179.5 kB / 1.142 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.8005, allocations: 47.98 kB / 1.142 GB, free: 11.08 MB / 0.7136 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 (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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.00148/0.8019, allocations: 0.8948 MB / 1.143 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.8022, allocations: 83.3 kB / 1.143 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008832/0.811, allocations: 3.335 MB / 1.147 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.811, allocations: 8 kB / 1.147 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8111, allocations: 3.984 kB / 1.147 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.8111, allocations: 3.984 kB / 1.147 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.8252, allocations: 5.477 MB / 1.152 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.8253, allocations: 4 kB / 1.152 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.8258, allocations: 104.1 kB / 1.152 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007392/0.8332, allocations: 1.98 MB / 1.154 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.8333, allocations: 12 kB / 1.154 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/0.8476, allocations: 9.643 MB / 1.164 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8477, allocations: 0 / 1.164 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008475/0.8562, allocations: 3.206 MB / 1.167 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007274/0.8569, allocations: 335.8 kB / 1.167 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.8572, allocations: 19.98 kB / 1.167 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009968/0.8582, allocations: 147.8 kB / 1.167 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.8585, allocations: 68.36 kB / 1.167 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/0.8586, allocations: 23.98 kB / 1.167 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001097/0.8597, allocations: 0.6668 MB / 1.168 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8597, allocations: 0 / 1.168 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002602/0.8623, allocations: 0.6758 MB / 1.169 GB, free: 15.9 MB / 0.7448 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 (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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002764/0.8626, allocations: 143.3 kB / 1.169 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007531/0.8702, allocations: 3.912 MB / 1.172 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.8702, allocations: 0 / 1.172 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.8725, allocations: 1.313 MB / 1.174 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.8742, allocations: 253.8 kB / 1.174 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007088/0.8813, allocations: 4.224 MB / 1.178 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/0.8832, allocations: 1.726 MB / 1.18 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001554/0.8848, allocations: 0.5109 MB / 1.18 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.885, allocations: 71.3 kB / 1.18 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.8851, allocations: 0 / 1.18 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of Templates: time 0.04886/0.9339, allocations: 29.94 MB / 1.21 GB, free: 5.844 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)