Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.693/2.693, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 172.9 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 94.58 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.298e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3276, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.368, allocations: 183.9 MB / 1.392 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.368, allocations: 91.22 kB / 1.392 GB, free: 15.48 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:42:5-42: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.05152/1.419, allocations: 22.92 MB / 1.415 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.383e-06/1.419, allocations: 11.88 kB / 1.415 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.046e-05/1.419, allocations: 12 kB / 1.415 GB, free: 12.93 MB / 0.8386 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.001095/1.421, allocations: 0.5679 MB / 1.415 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.421, allocations: 8.031 kB / 1.415 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/1.421, allocations: 56.98 kB / 1.415 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/1.422, allocations: 127.8 kB / 1.415 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/1.422, allocations: 278.3 kB / 1.416 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/1.422, allocations: 16.3 kB / 1.416 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/1.422, allocations: 19.25 kB / 1.416 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/1.423, allocations: 387.5 kB / 1.416 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.423, allocations: 4 kB / 1.416 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/1.423, allocations: 10.92 kB / 1.416 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/1.423, allocations: 31.84 kB / 1.416 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/1.424, allocations: 313.6 kB / 1.416 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/1.426, allocations: 2.054 MB / 1.418 GB, free: 9.254 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/1.427, allocations: 343.8 kB / 1.419 GB, free: 9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/1.427, allocations: 176 kB / 1.419 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/1.427, allocations: 89.23 kB / 1.419 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.428, allocations: 42.67 kB / 1.419 GB, free: 8.719 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/1.428, allocations: 3.938 kB / 1.419 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.004558/1.432, allocations: 1.449 MB / 1.42 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/1.432, allocations: 81.11 kB / 1.42 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/1.432, allocations: 205.5 kB / 1.421 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/1.432, allocations: 29.02 kB / 1.421 GB, free: 7.141 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/1.433, allocations: 187.3 kB / 1.421 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/1.433, allocations: 123.5 kB / 1.421 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/1.433, allocations: 6.938 kB / 1.421 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.433, allocations: 340.9 kB / 1.421 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/1.433, allocations: 161 kB / 1.421 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/1.433, allocations: 275.5 kB / 1.422 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/1.434, allocations: 207 kB / 1.422 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.434, allocations: 0 / 1.422 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001097/1.435, allocations: 0.6094 MB / 1.423 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006018/1.435, allocations: 1.224 MB / 1.424 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.435, allocations: 4 kB / 1.424 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005695/1.436, allocations: 144.5 kB / 1.424 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/1.436, allocations: 94.81 kB / 1.424 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/1.439, allocations: 3.938 MB / 1.428 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/1.44, allocations: 41.03 kB / 1.428 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/1.44, allocations: 23.23 kB / 1.428 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/1.44, allocations: 4 kB / 1.428 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009511/1.441, allocations: 0.5449 MB / 1.428 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.441, allocations: 7.938 kB / 1.428 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/1.441, allocations: 147.7 kB / 1.429 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/1.442, allocations: 95.88 kB / 1.429 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006238/1.442, allocations: 1.105 MB / 1.43 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/1.443, allocations: 38.81 kB / 1.43 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/1.443, allocations: 23.61 kB / 1.43 GB, free: 14.16 MB / 0.8542 GB 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.0001439/1.443, allocations: 127 kB / 1.43 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/1.443, allocations: 35.17 kB / 1.43 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000986/1.444, allocations: 0.5496 MB / 1.43 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.444, allocations: 4 kB / 1.43 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/1.444, allocations: 7.953 kB / 1.43 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.444, allocations: 7.984 kB / 1.431 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/1.446, allocations: 1.264 MB / 1.432 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.446, allocations: 4 kB / 1.432 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/1.446, allocations: 75.84 kB / 1.432 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/1.447, allocations: 149.6 kB / 1.432 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/1.447, allocations: 11.44 kB / 1.432 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/1.45, allocations: 3.963 MB / 1.436 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.45, allocations: 0 / 1.436 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009975/1.451, allocations: 0.819 MB / 1.437 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/1.451, allocations: 140.1 kB / 1.437 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/1.451, allocations: 11.75 kB / 1.437 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/1.451, allocations: 39.7 kB / 1.437 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/1.451, allocations: 31.84 kB / 1.437 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/1.451, allocations: 11.62 kB / 1.437 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00016/1.451, allocations: 168.5 kB / 1.437 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.81e-07/1.451, allocations: 0 / 1.437 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008362/1.452, allocations: 175.2 kB / 1.437 GB, free: 6.891 MB / 0.8542 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.001668/1.454, allocations: 2.041 MB / 1.439 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001587/1.456, allocations: 1.084 MB / 1.44 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.456, allocations: 4.062 kB / 1.44 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/1.456, allocations: 449.8 kB / 1.441 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/1.457, allocations: 53.59 kB / 1.441 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/1.458, allocations: 0.6613 MB / 1.441 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/1.458, allocations: 0.8157 MB / 1.442 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000394/1.459, allocations: 118.8 kB / 1.442 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/1.459, allocations: 88.03 kB / 1.442 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/1.459, allocations: 0 / 1.442 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/1.485, allocations: 8.516 MB / 1.451 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.485, allocations: 227.9 kB / 1.451 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/3.455, allocations: 0 / 1.451 GB, free: 9.426 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat