Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, allocations: 248.7 MB / 256.2 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 177.3 kB / 315.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 84.72 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.049e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8966/1.116, allocations: 147.5 MB / 1.028 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/1.116, allocations: 90.12 kB / 1.028 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1131/1.229, allocations: 27.44 MB / 1.055 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.463e-06/1.229, allocations: 0 / 1.055 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.798e-05/1.23, allocations: 16 kB / 1.055 GB, free: 1.789 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001605/1.231, allocations: 0.684 MB / 1.056 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.231, allocations: 8.031 kB / 1.056 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/1.234, allocations: 186.7 kB / 1.056 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/1.235, allocations: 389.9 kB / 1.056 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/1.235, allocations: 12 kB / 1.056 GB, free: 0.5078 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-05/1.235, allocations: 23.91 kB / 1.056 GB, free: 496 kB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009374/1.236, allocations: 354.3 kB / 1.057 GB, free: 256 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/1.237, allocations: 0.6402 MB / 1.057 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/1.237, allocations: 7.938 kB / 1.057 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/1.237, allocations: 7.953 kB / 1.057 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/1.237, allocations: 43.22 kB / 1.057 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004811/1.242, allocations: 3.711 MB / 1.061 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003526/1.246, allocations: 0.6537 MB / 1.062 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003935/1.246, allocations: 168.9 kB / 1.062 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/1.246, allocations: 7.938 kB / 1.062 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/1.246, allocations: 38.69 kB / 1.062 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 3.927e-06/1.246, allocations: 0 / 1.062 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.00237/1.248, allocations: 0.7856 MB / 1.063 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/1.249, allocations: 106.8 kB / 1.063 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/1.249, allocations: 300.4 kB / 1.063 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/1.249, allocations: 25.7 kB / 1.063 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/1.249, allocations: 279.6 kB / 1.063 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/1.249, allocations: 113.5 kB / 1.063 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/1.249, allocations: 0 / 1.063 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.25, allocations: 352.6 kB / 1.064 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/1.25, allocations: 158.9 kB / 1.064 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/1.251, allocations: 332.9 kB / 1.064 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/1.251, allocations: 208.2 kB / 1.064 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/1.251, allocations: 11.88 kB / 1.064 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001554/1.253, allocations: 0.5875 MB / 1.065 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/1.253, allocations: 11.95 kB / 1.065 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/1.253, allocations: 11.98 kB / 1.065 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/1.253, allocations: 92.33 kB / 1.065 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/1.254, allocations: 111.7 kB / 1.065 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/1.258, allocations: 3.865 MB / 1.069 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/1.259, allocations: 19.97 kB / 1.069 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/1.259, allocations: 23.5 kB / 1.069 GB, free: 3.996 MB / 0.6823 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 (57): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001913/1.259, allocations: 126.6 kB / 1.069 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001192/1.261, allocations: 444.5 kB / 1.069 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/1.261, allocations: 47.52 kB / 1.07 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.262, allocations: 490.2 kB / 1.07 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/1.262, allocations: 4 kB / 1.07 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.262, allocations: 12 kB / 1.07 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/1.262, allocations: 3.984 kB / 1.07 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/1.265, allocations: 1.183 MB / 1.071 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.265, allocations: 7.953 kB / 1.071 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/1.265, allocations: 63.39 kB / 1.071 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/1.266, allocations: 84.98 kB / 1.071 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/1.266, allocations: 8 kB / 1.071 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004116/1.27, allocations: 3.868 MB / 1.075 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/1.27, allocations: 4 kB / 1.075 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/1.271, allocations: 0.8755 MB / 1.076 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/1.272, allocations: 153.4 kB / 1.076 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/1.272, allocations: 7.984 kB / 1.076 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/1.272, allocations: 11.98 kB / 1.076 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.272, allocations: 43.09 kB / 1.076 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/1.272, allocations: 15.38 kB / 1.076 GB, free: 12.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003832/1.273, allocations: 234.3 kB / 1.076 GB, free: 12.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.273, allocations: 0 / 1.076 GB, free: 12.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001022/1.274, allocations: 112 kB / 1.077 GB, free: 12.38 MB / 0.698 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 (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00213/1.276, allocations: 2.178 MB / 1.079 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001778/1.278, allocations: 0.7308 MB / 1.079 GB, free: 9.566 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.278, allocations: 0 / 1.079 GB, free: 9.566 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/1.279, allocations: 0.5147 MB / 1.08 GB, free: 9.074 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/1.28, allocations: 107.6 kB / 1.08 GB, free: 8.988 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/1.282, allocations: 0.7326 MB / 1.081 GB, free: 8.262 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/1.283, allocations: 0.8807 MB / 1.082 GB, free: 7.363 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005072/1.283, allocations: 100.3 kB / 1.082 GB, free: 7.262 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/1.284, allocations: 154.2 kB / 1.082 GB, free: 7.211 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.284, allocations: 0 / 1.082 GB, free: 7.211 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05373/1.338, allocations: 8.404 MB / 1.09 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/1.338, allocations: 149.7 kB / 1.09 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.854, allocations: 0 / 1.09 GB, free: 14.67 MB / 0.7136 GB