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.Sources.Examples.VariablePowerSource.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01056/0.01056, allocations: 107 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001133/0.001133, allocations: 184.6 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.004/2.004, allocations: 194.5 MB / 211.2 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.257/2.257, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004786, allocations: 16 kB / 0.587 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.66/0.6605, allocations: 98.72 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2787/0.9392, allocations: 147.8 MB / 0.8278 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004842/0.9398, allocations: 99.92 kB / 0.8279 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08056/1.02, allocations: 17.65 MB / 0.8451 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.044e-06/1.02, allocations: 0 / 0.8451 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.122e-05/1.02, allocations: 12 kB / 0.8451 GB, free: 8.48 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001692/1.022, allocations: 0.6411 MB / 0.8457 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.022, allocations: 12.03 kB / 0.8457 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.959e-05/1.022, allocations: 58.53 kB / 0.8458 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.024, allocations: 99.52 kB / 0.8459 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005028/1.024, allocations: 278.3 kB / 0.8462 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/1.024, allocations: 20.42 kB / 0.8462 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/1.024, allocations: 23.98 kB / 0.8462 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.025, allocations: 422.5 kB / 0.8466 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/1.026, allocations: 0 / 0.8466 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/1.026, allocations: 12 kB / 0.8466 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.25e-05/1.026, allocations: 24.3 kB / 0.8466 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/1.027, allocations: 416.8 kB / 0.847 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/1.03, allocations: 1.646 MB / 0.8486 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/1.032, allocations: 497 kB / 0.8491 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/1.033, allocations: 97.03 kB / 0.8492 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000934/1.034, allocations: 278.5 kB / 0.8495 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=27): time 3.026e-06/1.034, allocations: 0 / 0.8495 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28): time 0.003213/1.037, allocations: 0.7746 MB / 0.8502 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/1.037, allocations: 85.05 kB / 0.8503 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/1.037, allocations: 200.2 kB / 0.8505 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/1.037, allocations: 29.7 kB / 0.8505 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/1.038, allocations: 176.2 kB / 0.8507 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/1.038, allocations: 90.73 kB / 0.8508 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/1.038, allocations: 8 kB / 0.8508 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.038, allocations: 334.8 kB / 0.8511 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/1.039, allocations: 184.2 kB / 0.8513 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008169/1.039, allocations: 253.3 kB / 0.8515 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008143/1.04, allocations: 231.3 kB / 0.8518 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.04, allocations: 0 / 0.8518 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001998/1.042, allocations: 0.561 MB / 0.8523 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004732/1.043, allocations: 0.9028 MB / 0.8532 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.043, allocations: 4 kB / 0.8532 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/1.043, allocations: 44.81 kB / 0.8532 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/1.044, allocations: 91.86 kB / 0.8533 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/1.046, allocations: 1.512 MB / 0.8548 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/1.047, allocations: 47.8 kB / 0.8548 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/1.047, allocations: 16 kB / 0.8549 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/1.047, allocations: 4 kB / 0.8549 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001892/1.049, allocations: 0.5046 MB / 0.8554 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.049, allocations: 4 kB / 0.8554 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/1.049, allocations: 48.97 kB / 0.8554 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/1.05, allocations: 79.88 kB / 0.8555 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/1.052, allocations: 1.497 MB / 0.8569 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/1.052, allocations: 47.81 kB / 0.857 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/1.053, allocations: 19.92 kB / 0.857 GB, free: 11.48 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003878/1.053, allocations: 249 kB / 0.8572 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/1.053, allocations: 23.72 kB / 0.8573 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/1.055, allocations: 485.9 kB / 0.8577 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/1.055, allocations: 7.938 kB / 0.8577 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.055, allocations: 0 / 0.8577 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/1.055, allocations: 7.922 kB / 0.8577 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/1.056, allocations: 0.5662 MB / 0.8583 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.056, allocations: 0 / 0.8583 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/1.057, allocations: 83.95 kB / 0.8584 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/1.057, allocations: 36.83 kB / 0.8584 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/1.057, allocations: 7.984 kB / 0.8584 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/1.059, allocations: 1.436 MB / 0.8598 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.059, allocations: 4.031 kB / 0.8598 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/1.061, allocations: 0.5933 MB / 0.8604 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/1.061, allocations: 128.7 kB / 0.8605 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/1.061, allocations: 11.94 kB / 0.8605 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005618/1.062, allocations: 47.94 kB / 0.8606 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.062, allocations: 31.91 kB / 0.8606 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/1.062, allocations: 12 kB / 0.8606 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002558/1.062, allocations: 168.5 kB / 0.8608 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/1.062, allocations: 0 / 0.8608 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009363/1.063, allocations: 144 kB / 0.8609 GB, free: 7.191 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002373/1.065, allocations: 1.371 MB / 0.8623 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003195/1.069, allocations: 1.015 MB / 0.8633 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.069, allocations: 0 / 0.8633 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.07, allocations: 338.8 kB / 0.8636 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/1.07, allocations: 40.41 kB / 0.8636 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009129/1.08, allocations: 3.359 MB / 0.8669 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007952/1.08, allocations: 0.7839 MB / 0.8677 GB, free: 56 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001029/1.081, allocations: 94.2 kB / 0.8678 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/1.082, allocations: 95.33 kB / 0.8678 GB, free: 15.87 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/1.082, allocations: 0 / 0.8678 GB, free: 15.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/1.12, allocations: 6.579 MB / 0.8743 GB, free: 9.469 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003857/1.12, allocations: 238.5 kB / 0.8745 GB, free: 9.227 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.703, allocations: 0 / 0.8745 GB, free: 9.227 MB / 0.698 GB