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.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.812/1.812, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.0009763/0.0009767, allocations: 183.2 kB / 393.1 MB, free: 4.059 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.482/1.482, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0008018/0.0008018, allocations: 95.77 kB / 0.7935 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005684/0.0005688, allocations: 8 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6982, allocations: 121.3 MB / 1.041 GB, free: 58.92 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02334/0.7216, allocations: 21.51 MB / 1.062 GB, free: 44.38 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.7347, allocations: 9.189 MB / 1.071 GB, free: 36.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003283/0.7381, allocations: 80.38 kB / 1.071 GB, free: 36.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.7403, allocations: 468.7 kB / 1.071 GB, free: 36.22 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005399/0.7457, allocations: 1.745 MB / 1.073 GB, free: 35.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003741/0.7495, allocations: 1.208 MB / 1.074 GB, free: 34.58 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01026/0.7598, allocations: 10.56 MB / 1.085 GB, free: 31.31 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01584/0.7757, allocations: 10.65 MB / 1.095 GB, free: 24.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005245/0.7809, allocations: 2.149 MB / 1.097 GB, free: 23.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006312/0.7873, allocations: 3.176 MB / 1.1 GB, free: 22.8 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001515/0.7888, allocations: 243.9 kB / 1.1 GB, free: 22.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003866/0.7927, allocations: 1.033 MB / 1.101 GB, free: 22.51 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00495/0.7977, allocations: 2.069 MB / 1.103 GB, free: 21.89 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.008453/0.8062, allocations: 2.125 MB / 1.106 GB, free: 20.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.8198, allocations: 8.12 MB / 1.113 GB, free: 18.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.8199, allocations: 0 / 1.113 GB, free: 18.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8199, allocations: 0 / 1.113 GB, free: 18.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004112/0.8203, allocations: 3.938 kB / 1.113 GB, free: 18.72 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01325/0.8336, allocations: 3.556 MB / 1.117 GB, free: 16.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.8336, allocations: 10.72 kB / 1.117 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.8438, allocations: 1.69 MB / 1.119 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00732/0.8512, allocations: 2.572 MB / 1.121 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.8516, allocations: 278.6 kB / 1.121 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/0.8546, allocations: 361.7 kB / 1.122 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02072/0.8754, allocations: 7.459 MB / 1.129 GB, free: 9.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000202/0.8756, allocations: 16.44 kB / 1.129 GB, free: 9.414 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00167/0.8773, allocations: 155.9 kB / 1.129 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007094/0.878, allocations: 486.8 kB / 1.13 GB, free: 8.871 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/0.8911, allocations: 5.68 MB / 1.135 GB, free: 3.926 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04813/0.9393, allocations: 31.67 MB / 1.166 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/0.9428, allocations: 2.09 MB / 1.168 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003358/0.9462, allocations: 2.167 MB / 1.17 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/0.9465, allocations: 17.31 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.9465, allocations: 47.86 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=146): time 4.348e-06/0.9465, allocations: 0 / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=251): time 0.2815/1.228, allocations: 75.29 MB / 1.244 GB, free: 1.707 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/1.228, allocations: 77.41 kB / 1.244 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/1.232, allocations: 1.653 MB / 1.246 GB, free: 15.93 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007459/1.232, allocations: 65.7 kB / 1.246 GB, free: 15.86 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/1.234, allocations: 1.748 MB / 1.247 GB, free: 14.09 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/1.235, allocations: 0.8509 MB / 1.248 GB, free: 13.22 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005391/1.236, allocations: 56 kB / 1.248 GB, free: 13.17 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002764/1.236, allocations: 411.2 kB / 1.249 GB, free: 12.76 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004544/1.241, allocations: 2.718 MB / 1.251 GB, free: 10.04 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004971/1.246, allocations: 3.32 MB / 1.254 GB, free: 6.469 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009555/1.255, allocations: 6.378 MB / 1.261 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-05/1.255, allocations: 4 kB / 1.261 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03326/1.289, allocations: 14.66 MB / 1.275 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/1.289, allocations: 12 kB / 1.275 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.056e-05/1.289, allocations: 20.91 kB / 1.275 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02971/1.318, allocations: 9.233 MB / 1.284 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/1.32, allocations: 299.5 kB / 1.284 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6142/1.934, allocations: 47.06 MB / 1.33 GB, free: 222 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/1.939, allocations: 220 kB / 1.331 GB, free: 222 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009227/1.94, allocations: 105.1 kB / 1.331 GB, free: 222 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,68.1%), (19,19,54.6%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006076/1.946, allocations: 1.582 MB / 1.332 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.947, allocations: 244.9 kB / 1.332 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0483/1.996, allocations: 14.73 MB / 1.347 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.433e-05/1.996, allocations: 27.81 kB / 1.347 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002579/1.996, allocations: 50.75 kB / 1.347 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.661e-05/1.996, allocations: 20.94 kB / 1.347 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06767/2.064, allocations: 20.49 MB / 1.367 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-05/2.064, allocations: 9.125 kB / 1.367 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/2.065, allocations: 160.1 kB / 1.367 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04913/2.114, allocations: 9.004 MB / 1.376 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009422/2.115, allocations: 44.66 kB / 1.376 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1095/2.225, allocations: 46.7 MB / 1.421 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/2.225, allocations: 11.94 kB / 1.421 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04654/2.272, allocations: 14.34 MB / 1.435 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003333/2.275, allocations: 0.8503 MB / 1.436 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/2.276, allocations: 48.44 kB / 1.436 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003725/2.28, allocations: 211.7 kB / 1.437 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002148/2.282, allocations: 233.5 kB / 1.437 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004265/2.283, allocations: 68 kB / 1.437 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002368/2.285, allocations: 1.113 MB / 1.438 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-07/2.285, allocations: 0 / 1.438 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008951/2.294, allocations: 1.602 MB / 1.44 GB, free: 164.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007862/2.295, allocations: 170.5 kB / 1.44 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02462/2.319, allocations: 10.33 MB / 1.45 GB, free: 154 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-05/2.319, allocations: 4 kB / 1.45 GB, free: 154 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01578/2.335, allocations: 7.134 MB / 1.457 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/2.34, allocations: 0.5149 MB / 1.457 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/2.356, allocations: 10.61 MB / 1.468 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003129/2.359, allocations: 3.227 MB / 1.471 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001302/2.36, allocations: 389.6 kB / 1.471 GB, free: 132 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/2.36, allocations: 99.44 kB / 1.471 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/2.36, allocations: 0 / 1.471 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.118/2.478, allocations: 86.18 MB / 1.555 GB, free: 45.8 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)