Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 289.9 MB / 297.4 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 176.9 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.2 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009057/0.0009059, allocations: 81.23 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.105e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6875/0.6876, allocations: 116.3 MB / 0.9734 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/0.9065, allocations: 172.7 MB / 1.142 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.9068, allocations: 92.69 kB / 1.142 GB, free: 9.27 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.05073/0.9576, allocations: 20.53 MB / 1.162 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9576, allocations: 0 / 1.162 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.9576, allocations: 4 kB / 1.162 GB, free: 4.648 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008808/0.9585, allocations: 0.5763 MB / 1.163 GB, free: 4.023 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.9585, allocations: 8.031 kB / 1.163 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009572/0.9595, allocations: 119.5 kB / 1.163 GB, free: 3.898 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.9599, allocations: 278.8 kB / 1.163 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.9599, allocations: 5.75 kB / 1.163 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.96, allocations: 16 kB / 1.163 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004195/0.9604, allocations: 252.9 kB / 1.163 GB, free: 3.316 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.9609, allocations: 358.8 kB / 1.164 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.961, allocations: 0 / 1.164 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.961, allocations: 7.938 kB / 1.164 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/0.9611, allocations: 28.55 kB / 1.164 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.9633, allocations: 1.999 MB / 1.166 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.964, allocations: 323.6 kB / 1.166 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.9643, allocations: 174 kB / 1.166 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.9644, allocations: 85.28 kB / 1.166 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.9644, allocations: 38.75 kB / 1.166 GB, free: 68 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 3.056e-06/0.9645, allocations: 6.141 kB / 1.166 GB, free: 64 kB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.001991/0.9665, allocations: 0.8706 MB / 1.167 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.9665, allocations: 85.05 kB / 1.167 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.9667, allocations: 195.8 kB / 1.167 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.9667, allocations: 29.7 kB / 1.167 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.9668, allocations: 180.4 kB / 1.168 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.243e-05/0.9669, allocations: 114.3 kB / 1.168 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.9669, allocations: 4 kB / 1.168 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9671, allocations: 330.8 kB / 1.168 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.9673, allocations: 152.8 kB / 1.168 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.9676, allocations: 268.2 kB / 1.168 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.968, allocations: 223.6 kB / 1.169 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.968, allocations: 0 / 1.169 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00105/0.969, allocations: 0.5804 MB / 1.169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004016/0.9695, allocations: 1.217 MB / 1.17 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.9695, allocations: 4 kB / 1.17 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/0.9699, allocations: 135.3 kB / 1.171 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.9703, allocations: 99.88 kB / 1.171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.973, allocations: 3.839 MB / 1.174 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.9733, allocations: 28.12 kB / 1.174 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.9733, allocations: 23.98 kB / 1.174 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.9734, allocations: 4 kB / 1.174 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009794/0.9743, allocations: 0.5204 MB / 1.175 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.9744, allocations: 4.656 kB / 1.175 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.9746, allocations: 123.4 kB / 1.175 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.975, allocations: 96 kB / 1.175 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006234/0.9757, allocations: 1.112 MB / 1.176 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.976, allocations: 36.11 kB / 1.176 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.976, allocations: 19.98 kB / 1.176 GB, free: 5.23 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.9762, allocations: 118.8 kB / 1.176 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009082/0.9771, allocations: 499 kB / 1.177 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.9772, allocations: 27.7 kB / 1.177 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.9782, allocations: 0.5335 MB / 1.177 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.9782, allocations: 4 kB / 1.177 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9782, allocations: 11.94 kB / 1.177 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.9782, allocations: 3.984 kB / 1.177 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.9801, allocations: 1.188 MB / 1.179 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9801, allocations: 4 kB / 1.179 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.9804, allocations: 68.14 kB / 1.179 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003418/0.9807, allocations: 135.3 kB / 1.179 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.9808, allocations: 4 kB / 1.179 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.9835, allocations: 3.875 MB / 1.183 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9835, allocations: 0 / 1.183 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.9845, allocations: 0.8077 MB / 1.183 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.9847, allocations: 136.8 kB / 1.184 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.9847, allocations: 7.953 kB / 1.184 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.9851, allocations: 31.97 kB / 1.184 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.9852, allocations: 31.23 kB / 1.184 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.9852, allocations: 16 kB / 1.184 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001427/0.9853, allocations: 160.4 kB / 1.184 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9854, allocations: 0 / 1.184 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008055/0.9862, allocations: 155.9 kB / 1.184 GB, free: 12.91 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001563/0.9877, allocations: 2.013 MB / 1.186 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.9892, allocations: 1.028 MB / 1.187 GB, free: 9.703 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9892, allocations: 0 / 1.187 GB, free: 9.703 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.9898, allocations: 436.2 kB / 1.187 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.9902, allocations: 39.03 kB / 1.187 GB, free: 9.223 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.9914, allocations: 0.631 MB / 1.188 GB, free: 8.531 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.9918, allocations: 0.8201 MB / 1.189 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.9922, allocations: 115.1 kB / 1.189 GB, free: 7.574 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.9924, allocations: 91.41 kB / 1.189 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of SimCode: time 4.31e-07/0.9924, allocations: 0 / 1.189 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/1.02, allocations: 7.875 MB / 1.197 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/1.021, allocations: 176.8 kB / 1.197 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/3.001, allocations: 0 / 1.197 GB, free: 15.54 MB / 0.8073 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)