Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.799/1.799, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.0009678/0.0009678, allocations: 189.2 kB / 330.8 MB, free: 448 kB / 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 1.552/1.552, allocations: 225.7 MB / 0.6016 GB, free: 1.594 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.0008893/0.0008894, allocations: 95.72 kB / 0.709 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2389, allocations: 109.2 MB / 0.9328 GB, free: 6.23 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03431/0.2733, allocations: 32.13 MB / 0.9641 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02297/0.2963, allocations: 17.98 MB / 0.9817 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004052/0.3004, allocations: 135.2 kB / 0.9818 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003097/0.3035, allocations: 0.6899 MB / 0.9825 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006646/0.3102, allocations: 1.871 MB / 0.9843 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006784/0.317, allocations: 2.004 MB / 0.9863 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01401/0.331, allocations: 12.41 MB / 0.9984 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4787/0.8098, allocations: 20.34 MB / 1.018 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007503/0.8174, allocations: 2.697 MB / 1.021 GB, free: 15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008513/0.8259, allocations: 3.546 MB / 1.024 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002505/0.8285, allocations: 326.1 kB / 1.025 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006614/0.8351, allocations: 1.842 MB / 1.026 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.005664/0.8408, allocations: 2.417 MB / 1.029 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.007982/0.8488, allocations: 2.735 MB / 1.032 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01915/0.868, allocations: 11.44 MB / 1.043 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.868, allocations: 1.406 kB / 1.043 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.868, allocations: 4 kB / 1.043 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005279/0.8686, allocations: 0 / 1.043 GB, free: 11.98 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01831/0.8869, allocations: 4.652 MB / 1.047 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.887, allocations: 16.41 kB / 1.047 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008207/0.8952, allocations: 1.066 MB / 1.048 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009228/0.9045, allocations: 3.26 MB / 1.051 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004976/0.905, allocations: 411.7 kB / 1.052 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003112/0.9081, allocations: 0.542 MB / 1.052 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02857/0.9367, allocations: 9.033 MB / 1.061 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002755/0.9371, allocations: 35.77 kB / 1.061 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002154/0.9392, allocations: 230.5 kB / 1.061 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003736/0.9396, allocations: 351.5 kB / 1.062 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.9568, allocations: 6.782 MB / 1.068 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06326/1.02, allocations: 40.19 MB / 1.108 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/1.025, allocations: 3.106 MB / 1.111 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/1.028, allocations: 1.949 MB / 1.113 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/1.028, allocations: 22 kB / 1.113 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/1.028, allocations: 48.56 kB / 1.113 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=179): time 4.688e-06/1.028, allocations: 0 / 1.113 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.02726/1.056, allocations: 10.02 MB / 1.122 GB, free: 11.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.056, allocations: 69.41 kB / 1.123 GB, free: 11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/1.059, allocations: 1.514 MB / 1.124 GB, free: 9.445 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003113/1.059, allocations: 57.7 kB / 1.124 GB, free: 9.383 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001906/1.061, allocations: 2.255 MB / 1.126 GB, free: 7.105 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000881/1.062, allocations: 0.6277 MB / 1.127 GB, free: 6.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/1.062, allocations: 44 kB / 1.127 GB, free: 6.438 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002265/1.062, allocations: 402.3 kB / 1.127 GB, free: 6.039 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/1.064, allocations: 1.164 MB / 1.128 GB, free: 4.871 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/1.067, allocations: 1.872 MB / 1.13 GB, free: 2.688 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005237/1.072, allocations: 3.363 MB / 1.134 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.353e-05/1.072, allocations: 4 kB / 1.134 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00933/1.081, allocations: 4.553 MB / 1.138 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/1.081, allocations: 19.91 kB / 1.138 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.39e-05/1.081, allocations: 24 kB / 1.138 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004118/1.085, allocations: 1.577 MB / 1.14 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.087, allocations: 352.6 kB / 1.14 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/1.111, allocations: 17.06 MB / 1.157 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/1.113, allocations: 120 kB / 1.157 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004667/1.114, allocations: 95.94 kB / 1.157 GB, free: 7.02 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,31.2%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004899/1.119, allocations: 1.903 MB / 1.159 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007415/1.12, allocations: 225.3 kB / 1.159 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008154/1.128, allocations: 4.073 MB / 1.163 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/1.128, allocations: 19.98 kB / 1.163 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-05/1.128, allocations: 16 kB / 1.163 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/1.128, allocations: 7.969 kB / 1.163 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02238/1.15, allocations: 9.453 MB / 1.172 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/1.15, allocations: 4 kB / 1.172 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009124/1.151, allocations: 176.4 kB / 1.172 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003596/1.155, allocations: 1.354 MB / 1.174 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/1.155, allocations: 32 kB / 1.174 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/1.177, allocations: 15.97 MB / 1.189 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.177, allocations: 6.625 kB / 1.189 GB, free: 5.242 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008186/1.185, allocations: 4.06 MB / 1.193 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.187, allocations: 0.5257 MB / 1.194 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007413/1.188, allocations: 36 kB / 1.194 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.19, allocations: 87.89 kB / 1.194 GB, free: 496 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000705/1.19, allocations: 167.2 kB / 1.194 GB, free: 332 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.19, allocations: 48 kB / 1.194 GB, free: 284 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002293/1.193, allocations: 0.989 MB / 1.195 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/1.193, allocations: 0 / 1.195 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005312/1.198, allocations: 0.9883 MB / 1.196 GB, free: 14.28 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004496/1.199, allocations: 147.8 kB / 1.196 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007961/1.207, allocations: 4.295 MB / 1.2 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.207, allocations: 0 / 1.2 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004676/1.211, allocations: 2.67 MB / 1.203 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005527/1.217, allocations: 0.7151 MB / 1.204 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/1.239, allocations: 11.01 MB / 1.214 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007104/1.246, allocations: 3.58 MB / 1.218 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002007/1.248, allocations: 467.9 kB / 1.218 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/1.249, allocations: 115.4 kB / 1.218 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of SimCode: time 1.143e-06/1.249, allocations: 0 / 1.218 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of Templates: time 0.07882/1.327, allocations: 41.83 MB / 1.259 GB, free: 13.48 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)