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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.168/4.168, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.979e-05, allocations: 4.094 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.256, allocations: 98.72 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8768/1.133, allocations: 170.8 MB / 0.7957 GB, free: 62.61 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/1.133, allocations: 92.11 kB / 0.7958 GB, free: 62.61 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.06/2.194, allocations: 266.4 MB / 1.056 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.164e-06/2.194, allocations: 3.938 kB / 1.056 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0006644/2.194, allocations: 147.9 kB / 1.056 GB, free: 7.77 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02265/2.217, allocations: 4.627 MB / 1.061 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/2.217, allocations: 12.03 kB / 1.061 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/2.235, allocations: 1.479 MB / 1.062 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01834/2.253, allocations: 4.211 MB / 1.066 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/2.254, allocations: 167.9 kB / 1.066 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002892/2.256, allocations: 296.2 kB / 1.067 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0196/2.276, allocations: 5.581 MB / 1.072 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02872/2.305, allocations: 7.542 MB / 1.079 GB, free: 15.25 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003443/2.305, allocations: 27.72 kB / 1.079 GB, free: 15.22 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002273/2.308, allocations: 16 kB / 1.079 GB, free: 15.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006519/2.308, allocations: 322 kB / 1.08 GB, free: 14.89 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7158/3.024, allocations: 38.9 MB / 1.118 GB, free: 144.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006551/3.031, allocations: 2.707 MB / 1.12 GB, free: 144.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00593/3.037, allocations: 2.475 MB / 1.123 GB, free: 144.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000487/3.037, allocations: 28.64 kB / 1.123 GB, free: 144.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/3.037, allocations: 59.56 kB / 1.123 GB, free: 144 MB / 0.823 GB Notification: Performance of pre-optimization done (n=265): time 6.712e-06/3.037, allocations: 0 / 1.123 GB, free: 144 MB / 0.823 GB Notification: Performance of matching and sorting (n=424): time 0.1228/3.16, allocations: 27.35 MB / 1.15 GB, free: 141.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/3.16, allocations: 99.48 kB / 1.15 GB, free: 141.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/3.164, allocations: 1.63 MB / 1.151 GB, free: 141.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00123/3.165, allocations: 25.7 kB / 1.151 GB, free: 141.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/3.167, allocations: 2.358 MB / 1.154 GB, free: 140.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002442/3.169, allocations: 1.385 MB / 1.155 GB, free: 140 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006114/3.17, allocations: 5.812 kB / 1.155 GB, free: 140 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003128/3.17, allocations: 484.1 kB / 1.155 GB, free: 139.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006198/3.177, allocations: 2.644 MB / 1.158 GB, free: 139.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00736/3.184, allocations: 3.58 MB / 1.161 GB, free: 138.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007797/3.192, allocations: 3.239 MB / 1.165 GB, free: 138.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.316e-05/3.192, allocations: 7.344 kB / 1.165 GB, free: 138.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.044/3.236, allocations: 11.15 MB / 1.176 GB, free: 138 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/3.236, allocations: 18.69 kB / 1.176 GB, free: 138 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.852e-05/3.236, allocations: 29.44 kB / 1.176 GB, free: 138 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03806/3.274, allocations: 4.894 MB / 1.18 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00623/3.281, allocations: 0.5071 MB / 1.181 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1147/3.395, allocations: 62.27 MB / 1.242 GB, free: 99.26 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006304/3.402, allocations: 96.92 kB / 1.242 GB, free: 99.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/3.403, allocations: 163.9 kB / 1.242 GB, free: 99.23 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001507/3.405, allocations: 188.2 kB / 1.242 GB, free: 99.11 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04166/3.446, allocations: 10.43 MB / 1.252 GB, free: 95.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002071/3.448, allocations: 367.4 kB / 1.253 GB, free: 95.12 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04394/3.492, allocations: 11.01 MB / 1.263 GB, free: 90.95 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.936e-05/3.492, allocations: 47.08 kB / 1.263 GB, free: 90.95 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001434/3.493, allocations: 50.72 kB / 1.263 GB, free: 90.95 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/3.493, allocations: 25.7 kB / 1.264 GB, free: 90.94 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06026/3.553, allocations: 16.53 MB / 1.28 GB, free: 84.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.791e-05/3.553, allocations: 3.969 kB / 1.28 GB, free: 84.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002992/3.556, allocations: 293 kB / 1.28 GB, free: 84.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02693/3.583, allocations: 4.423 MB / 1.284 GB, free: 83.38 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/3.584, allocations: 15.22 kB / 1.284 GB, free: 83.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09851/3.683, allocations: 60.02 MB / 1.343 GB, free: 28.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/3.683, allocations: 11.09 kB / 1.343 GB, free: 28.39 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04431/3.727, allocations: 14.7 MB / 1.357 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003831/3.731, allocations: 0.9572 MB / 1.358 GB, free: 14.67 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002372/3.734, allocations: 12 kB / 1.358 GB, free: 14.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005625/3.739, allocations: 113.4 kB / 1.358 GB, free: 14.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002591/3.742, allocations: 400.4 kB / 1.359 GB, free: 14.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009812/3.743, allocations: 104 kB / 1.359 GB, free: 14.25 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00256/3.745, allocations: 1.193 MB / 1.36 GB, free: 13.18 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.092e-06/3.746, allocations: 0 / 1.36 GB, free: 13.18 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01056/3.756, allocations: 1.542 MB / 1.361 GB, free: 11.65 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06738/3.824, allocations: 18.34 MB / 1.379 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.03273/3.856, allocations: 10.95 MB / 1.39 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/3.856, allocations: 4.188 kB / 1.39 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.02373/3.88, allocations: 7.6 MB / 1.397 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007352/3.888, allocations: 0.8721 MB / 1.398 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04355/3.931, allocations: 11.16 MB / 1.409 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01054/3.942, allocations: 4.188 MB / 1.413 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004723/3.947, allocations: 0.6543 MB / 1.414 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6545/4.601, allocations: 2.428 MB / 1.416 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.194e-06/4.601, allocations: 0 / 1.416 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3643/4.966, allocations: 131.1 MB / 1.544 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/4.966, allocations: 173 kB / 1.545 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/12.04, allocations: 0 / 1.545 GB, free: 157.6 MB / 0.8542 GB