Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.231/4.231, allocations: 433.2 MB / 440.8 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.704e-05, allocations: 5.188 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2169, allocations: 98.73 MB / 0.6289 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9236/1.141, allocations: 171.8 MB / 0.7967 GB, free: 62.59 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/1.141, allocations: 95.16 kB / 0.7968 GB, free: 62.59 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.909/3.05, allocations: 317.8 MB / 1.107 GB, free: 147.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.415e-06/3.05, allocations: 1.438 kB / 1.107 GB, free: 147.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008592/3.051, allocations: 170.3 kB / 1.107 GB, free: 147.1 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.0293/3.08, allocations: 5.513 MB / 1.113 GB, free: 145 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/3.08, allocations: 10.31 kB / 1.113 GB, free: 145 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02204/3.102, allocations: 1.758 MB / 1.114 GB, free: 144.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02066/3.123, allocations: 5.033 MB / 1.119 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/3.123, allocations: 196.9 kB / 1.12 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/3.126, allocations: 354 kB / 1.12 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02083/3.147, allocations: 6.839 MB / 1.127 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0313/3.178, allocations: 8.977 MB / 1.135 GB, free: 142.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003588/3.179, allocations: 38.33 kB / 1.135 GB, free: 142.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002341/3.181, allocations: 11.06 kB / 1.135 GB, free: 142.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005589/3.182, allocations: 385.6 kB / 1.136 GB, free: 142.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08881/3.271, allocations: 45.11 MB / 1.18 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/3.282, allocations: 4.04 MB / 1.184 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01003/3.292, allocations: 3.457 MB / 1.187 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007097/3.293, allocations: 43.03 kB / 1.187 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.922e-05/3.293, allocations: 77.03 kB / 1.187 GB, free: 115.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=353): time 1.085e-05/3.293, allocations: 0 / 1.187 GB, free: 115.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=578): time 0.1804/3.473, allocations: 37.29 MB / 1.224 GB, free: 112.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/3.473, allocations: 110.5 kB / 1.224 GB, free: 112.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/3.477, allocations: 1.826 MB / 1.226 GB, free: 111.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001474/3.479, allocations: 25.7 kB / 1.226 GB, free: 111.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002117/3.481, allocations: 2.712 MB / 1.228 GB, free: 110.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003169/3.484, allocations: 1.877 MB / 1.23 GB, free: 109 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007743/3.485, allocations: 0 / 1.23 GB, free: 109 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003917/3.485, allocations: 0.5315 MB / 1.231 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008384/3.494, allocations: 3.611 MB / 1.234 GB, free: 107.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/3.504, allocations: 4.691 MB / 1.239 GB, free: 104.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/3.515, allocations: 4.419 MB / 1.243 GB, free: 102.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.815e-05/3.516, allocations: 10.52 kB / 1.243 GB, free: 102.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05744/3.573, allocations: 15.17 MB / 1.258 GB, free: 97.11 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/3.573, allocations: 19.38 kB / 1.258 GB, free: 97.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.065e-05/3.573, allocations: 36.41 kB / 1.258 GB, free: 97.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0423/3.615, allocations: 7.312 MB / 1.265 GB, free: 95.24 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004423/3.62, allocations: 0.5582 MB / 1.266 GB, free: 95.22 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1336/3.754, allocations: 65.14 MB / 1.329 GB, free: 43.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007577/3.761, allocations: 127.8 kB / 1.329 GB, free: 43.67 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/3.762, allocations: 200.1 kB / 1.33 GB, free: 43.48 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001484/3.764, allocations: 197.8 kB / 1.33 GB, free: 43.32 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07803/3.842, allocations: 14.37 MB / 1.344 GB, free: 31.65 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002382/3.844, allocations: 442.8 kB / 1.344 GB, free: 31.21 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06336/3.908, allocations: 15.16 MB / 1.359 GB, free: 19.21 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.631e-05/3.908, allocations: 56 kB / 1.359 GB, free: 19.15 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001573/3.908, allocations: 72 kB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001394/3.908, allocations: 27.8 kB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07737/3.985, allocations: 22.3 MB / 1.381 GB, free: 1.344 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.963e-05/3.986, allocations: 4 kB / 1.381 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003351/3.989, allocations: 320.3 kB / 1.381 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06725/4.056, allocations: 6.879 MB / 1.388 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001724/4.058, allocations: 25.75 kB / 1.388 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8057/4.864, allocations: 62.32 MB / 1.449 GB, free: 134.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/4.864, allocations: 9.312 kB / 1.449 GB, free: 134.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06254/4.926, allocations: 20.15 MB / 1.468 GB, free: 132.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005193/4.932, allocations: 1.237 MB / 1.47 GB, free: 132.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002385/4.934, allocations: 24.25 kB / 1.47 GB, free: 132.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006759/4.941, allocations: 136.7 kB / 1.47 GB, free: 132.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003704/4.945, allocations: 0.5209 MB / 1.47 GB, free: 132.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001385/4.946, allocations: 142.7 kB / 1.47 GB, free: 132.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003261/4.949, allocations: 1.33 MB / 1.472 GB, free: 132.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.072e-06/4.949, allocations: 1.969 kB / 1.472 GB, free: 132.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01428/4.964, allocations: 2.008 MB / 1.474 GB, free: 132.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06618/5.03, allocations: 22.53 MB / 1.496 GB, free: 127.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.03878/5.069, allocations: 13 MB / 1.508 GB, free: 126.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/5.069, allocations: 3.75 kB / 1.508 GB, free: 126.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.02721/5.096, allocations: 8.489 MB / 1.517 GB, free: 123.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009133/5.105, allocations: 0.9784 MB / 1.518 GB, free: 122.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04628/5.152, allocations: 14.41 MB / 1.532 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01177/5.163, allocations: 5.016 MB / 1.537 GB, free: 116 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005069/5.168, allocations: 0.7296 MB / 1.537 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005563/5.174, allocations: 2.577 MB / 1.54 GB, free: 113.7 MB / 0.8386 GB Notification: Performance of SimCode: time 1.653e-06/5.174, allocations: 0 / 1.54 GB, free: 113.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.429/5.603, allocations: 170 MB / 1.706 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/5.603, allocations: 167.6 kB / 1.706 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.545/14.15, allocations: 0 / 1.706 GB, free: 0.6875 MB / 0.8386 GB