Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",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.202/2.202, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.00147/0.001469, allocations: 180.6 kB / 315.4 MB, free: 4.023 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.046/2.046, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 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.001103/0.001102, allocations: 92.34 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3.017e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.496/7.707, allocations: 2.248 GB / 3.132 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/7.707, allocations: 108.9 kB / 3.133 GB, free: 105.4 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 1.182/8.89, allocations: 149.5 MB / 3.279 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.244e-06/8.89, allocations: 0 / 3.279 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004562/8.89, allocations: 88.91 kB / 3.279 GB, free: 247.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01288/8.903, allocations: 3.074 MB / 3.282 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/8.903, allocations: 11.45 kB / 3.282 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00782/8.911, allocations: 0.8222 MB / 3.282 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007898/8.919, allocations: 2.279 MB / 3.285 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/8.919, allocations: 100.5 kB / 3.285 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/8.92, allocations: 184.2 kB / 3.285 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01098/8.931, allocations: 3.517 MB / 3.288 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/8.947, allocations: 3.913 MB / 3.292 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/8.947, allocations: 6.375 kB / 3.292 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005107/8.948, allocations: 3.719 kB / 3.292 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/8.948, allocations: 177.2 kB / 3.292 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03375/8.982, allocations: 19.1 MB / 3.311 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/8.986, allocations: 1.748 MB / 3.313 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/8.988, allocations: 1.117 MB / 3.314 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/8.989, allocations: 134.5 kB / 3.314 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00199/8.991, allocations: 1.039 MB / 3.315 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=150): time 4.619e-06/8.991, allocations: 0 / 3.315 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=187): time 0.02953/9.02, allocations: 9.883 MB / 3.325 GB, free: 227 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/9.02, allocations: 0.504 MB / 3.325 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003961/9.024, allocations: 1.871 MB / 3.327 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005151/9.025, allocations: 29.45 kB / 3.327 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00169/9.027, allocations: 1.524 MB / 3.329 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008694/9.028, allocations: 0.5961 MB / 3.329 GB, free: 224 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/9.028, allocations: 0 / 3.329 GB, free: 224 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001442/9.028, allocations: 391.2 kB / 3.329 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/9.03, allocations: 1.054 MB / 3.33 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/9.033, allocations: 1.576 MB / 3.332 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/9.036, allocations: 1.377 MB / 3.333 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/9.036, allocations: 7.734 kB / 3.333 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01599/9.052, allocations: 4.187 MB / 3.337 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001048/9.053, allocations: 4.638 MB / 3.342 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-05/9.053, allocations: 14.34 kB / 3.342 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/9.063, allocations: 1.348 MB / 3.343 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/9.067, allocations: 479.9 kB / 3.344 GB, free: 215 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/9.083, allocations: 9.073 MB / 3.353 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/9.087, allocations: 164.3 kB / 3.353 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005508/9.088, allocations: 90.56 kB / 3.353 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/9.088, allocations: 6.188 kB / 3.353 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005862/9.094, allocations: 2.174 MB / 3.355 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/9.094, allocations: 12.47 kB / 3.355 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.955e-05/9.094, allocations: 28.05 kB / 3.355 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003983/9.098, allocations: 0.5077 MB / 3.356 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.506e-05/9.098, allocations: 26.94 kB / 3.356 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/9.101, allocations: 101.3 kB / 3.356 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004561/9.101, allocations: 91.62 kB / 3.356 GB, free: 207.4 MB / 0.8698 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 230 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008545/9.102, allocations: 163.1 kB / 3.356 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01619/9.119, allocations: 3.988 MB / 3.36 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/9.12, allocations: 232 kB / 3.36 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01775/9.138, allocations: 4.219 MB / 3.364 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-05/9.138, allocations: 26.12 kB / 3.364 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/9.138, allocations: 11.28 kB / 3.364 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.42e-05/9.138, allocations: 18.06 kB / 3.364 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/9.164, allocations: 8.728 MB / 3.373 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/9.164, allocations: 3.656 kB / 3.373 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002993/9.167, allocations: 365.1 kB / 3.373 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01154/9.179, allocations: 1.797 MB / 3.375 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004929/9.179, allocations: 26.56 kB / 3.375 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02156/9.201, allocations: 12.51 MB / 3.387 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/9.201, allocations: 7.938 kB / 3.387 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/9.217, allocations: 4.595 MB / 3.392 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/9.219, allocations: 0.6795 MB / 3.392 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007237/9.22, allocations: 8 kB / 3.392 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003829/9.224, allocations: 229.8 kB / 3.392 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005913/9.224, allocations: 154.6 kB / 3.393 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/9.225, allocations: 59.28 kB / 3.393 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002922/9.228, allocations: 1.428 MB / 3.394 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.62e-07/9.228, allocations: 4 kB / 3.394 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006742/9.234, allocations: 1.144 MB / 3.395 GB, free: 180.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 176 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01869/9.253, allocations: 6.907 MB / 3.402 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01176/9.265, allocations: 4.416 MB / 3.406 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/9.265, allocations: 6.562 kB / 3.406 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005984/9.271, allocations: 2.222 MB / 3.408 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004705/9.276, allocations: 0.5297 MB / 3.409 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/9.294, allocations: 6.081 MB / 3.415 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003323/9.297, allocations: 2.532 MB / 3.417 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007423/9.304, allocations: 1.375 MB / 3.419 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002864/9.307, allocations: 1.276 MB / 3.42 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/9.307, allocations: 0 / 3.42 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1788/9.486, allocations: 67.07 MB / 3.485 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/9.487, allocations: 204.5 kB / 3.486 GB, free: 89.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.496/14.98, allocations: 3 kB / 3.486 GB, free: 89.66 MB / 0.8698 GB