Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.013/4.013, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.91e-05, allocations: 4.25 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2166, allocations: 98.74 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.22, allocations: 192.9 MB / 0.8173 GB, free: 51.64 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/1.22, allocations: 97.98 kB / 0.8173 GB, free: 51.64 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3175/1.538, allocations: 83.93 MB / 0.8993 GB, free: 17.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.184e-06/1.538, allocations: 3.938 kB / 0.8993 GB, free: 17.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002168/1.538, allocations: 39.83 kB / 0.8994 GB, free: 17.46 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005845/1.544, allocations: 1.584 MB / 0.9009 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.544, allocations: 8.031 kB / 0.9009 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/1.563, allocations: 1.882 MB / 0.9027 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/1.567, allocations: 1.221 MB / 0.9039 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/1.567, allocations: 40 kB / 0.904 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006654/1.568, allocations: 75.28 kB / 0.904 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00497/1.573, allocations: 1.691 MB / 0.9057 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005121/1.578, allocations: 2.061 MB / 0.9077 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.227e-05/1.578, allocations: 11.92 kB / 0.9077 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/1.578, allocations: 4 kB / 0.9077 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/1.579, allocations: 84.75 kB / 0.9078 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02372/1.602, allocations: 10.44 MB / 0.918 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004649/1.607, allocations: 1.658 MB / 0.9196 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/1.609, allocations: 0.8738 MB / 0.9205 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/1.609, allocations: 12.78 kB / 0.9205 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/1.61, allocations: 51.3 kB / 0.9205 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 4.158e-06/1.61, allocations: 0 / 0.9205 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.02543/1.635, allocations: 5.712 MB / 0.9261 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/1.635, allocations: 230.9 kB / 0.9263 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/1.638, allocations: 0.7546 MB / 0.9271 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004184/1.638, allocations: 29.7 kB / 0.9271 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/1.639, allocations: 0.7105 MB / 0.9278 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009633/1.64, allocations: 433.4 kB / 0.9282 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/1.64, allocations: 7.938 kB / 0.9282 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002803/1.641, allocations: 357.9 kB / 0.9286 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/1.644, allocations: 0.928 MB / 0.9295 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00379/1.648, allocations: 1.187 MB / 0.9306 GB, free: 2.336 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0041/1.652, allocations: 1.076 MB / 0.9317 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/1.652, allocations: 3.984 kB / 0.9317 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.02011/1.672, allocations: 3.62 MB / 0.9352 GB, free: 13.59 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/1.672, allocations: 8.938 kB / 0.9352 GB, free: 13.58 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/1.672, allocations: 4 kB / 0.9352 GB, free: 13.57 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0157/1.688, allocations: 1.576 MB / 0.9368 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005353/1.693, allocations: 439.2 kB / 0.9372 GB, free: 11.53 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04316/1.737, allocations: 23.88 MB / 0.9605 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/1.741, allocations: 291.5 kB / 0.9608 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/1.741, allocations: 59.95 kB / 0.9608 GB, free: 1.809 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005213/1.742, allocations: 136.7 kB / 0.961 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01371/1.756, allocations: 3.414 MB / 0.9643 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008048/1.757, allocations: 146.3 kB / 0.9644 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/1.771, allocations: 3.667 MB / 0.968 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/1.772, allocations: 16 kB / 0.968 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.618e-05/1.772, allocations: 12.09 kB / 0.968 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-05/1.772, allocations: 15.89 kB / 0.9681 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/1.793, allocations: 5.954 MB / 0.9739 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.793, allocations: 4.344 kB / 0.9739 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003624/1.797, allocations: 387.4 kB / 0.9743 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01085/1.807, allocations: 1.482 MB / 0.9757 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003586/1.808, allocations: 23.95 kB / 0.9757 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04214/1.85, allocations: 22.91 MB / 0.9981 GB, free: 9.898 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/1.85, allocations: 8.016 kB / 0.9981 GB, free: 9.891 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.863, allocations: 3.604 MB / 1.002 GB, free: 6.137 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.865, allocations: 451.2 kB / 1.002 GB, free: 5.676 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/1.865, allocations: 4 kB / 1.002 GB, free: 5.672 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003845/1.869, allocations: 299.7 kB / 1.002 GB, free: 5.379 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005812/1.87, allocations: 141.5 kB / 1.002 GB, free: 5.242 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/1.87, allocations: 51.97 kB / 1.003 GB, free: 5.191 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.001211/1.871, allocations: 0.5762 MB / 1.003 GB, free: 4.609 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5.31e-07/1.871, allocations: 0 / 1.003 GB, free: 4.609 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.003257/1.875, allocations: 0.5391 MB / 1.004 GB, free: 4.07 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01424/1.889, allocations: 4.951 MB / 1.008 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.9, allocations: 4.158 MB / 1.013 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.9, allocations: 4 kB / 1.013 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.008457/1.909, allocations: 2.983 MB / 1.015 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/1.913, allocations: 431.3 kB / 1.016 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/1.925, allocations: 3.133 MB / 1.019 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/1.927, allocations: 1.508 MB / 1.02 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003068/1.93, allocations: 404.1 kB / 1.021 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/1.931, allocations: 0.6125 MB / 1.021 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of SimCode: time 1.383e-06/1.931, allocations: 0 / 1.021 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1451/2.076, allocations: 46.88 MB / 1.067 GB, free: 2.812 MB / 0.8074 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003072/2.077, allocations: 154 kB / 1.067 GB, free: 2.625 MB / 0.8074 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.313/6.39, allocations: 0 / 1.067 GB, free: 2.625 MB / 0.8074 GB