Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.617/2.617, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001539/0.001539, allocations: 173 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0009949/0.0009949, allocations: 95.95 kB / 0.9318 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.469e-05/5.481e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2934, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.569, allocations: 184.8 MB / 1.399 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/1.569, allocations: 91.81 kB / 1.399 GB, free: 3.734 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.0601/1.629, allocations: 22.93 MB / 1.422 GB, free: 424 kB / 0.8698 GB Notification: Performance of FrontEnd: time 3.446e-06/1.629, allocations: 0 / 1.422 GB, free: 424 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.883e-05/1.629, allocations: 15.94 kB / 1.422 GB, free: 408 kB / 0.8698 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.001162/1.631, allocations: 0.5616 MB / 1.422 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.631, allocations: 12.03 kB / 1.422 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/1.631, allocations: 64.48 kB / 1.422 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/1.632, allocations: 123.5 kB / 1.423 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/1.632, allocations: 268.2 kB / 1.423 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/1.632, allocations: 14.88 kB / 1.423 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/1.633, allocations: 18.94 kB / 1.423 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/1.633, allocations: 390.1 kB / 1.423 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/1.633, allocations: 7.938 kB / 1.423 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/1.633, allocations: 9.984 kB / 1.423 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/1.633, allocations: 31.41 kB / 1.423 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/1.634, allocations: 313.8 kB / 1.424 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/1.637, allocations: 2.061 MB / 1.426 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008748/1.638, allocations: 339 kB / 1.426 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/1.638, allocations: 173.5 kB / 1.426 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/1.638, allocations: 93.28 kB / 1.426 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/1.638, allocations: 34.62 kB / 1.426 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 2.695e-06/1.638, allocations: 3.938 kB / 1.426 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.004635/1.643, allocations: 1.448 MB / 1.428 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/1.643, allocations: 92.19 kB / 1.428 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/1.643, allocations: 209.3 kB / 1.428 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/1.643, allocations: 29.45 kB / 1.428 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.644, allocations: 181.5 kB / 1.428 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/1.644, allocations: 119.7 kB / 1.428 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/1.644, allocations: 6.938 kB / 1.428 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.644, allocations: 337.2 kB / 1.428 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/1.644, allocations: 163.1 kB / 1.429 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/1.644, allocations: 271.2 kB / 1.429 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/1.645, allocations: 213.5 kB / 1.429 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.645, allocations: 0 / 1.429 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001107/1.646, allocations: 0.601 MB / 1.43 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005982/1.647, allocations: 1.217 MB / 1.431 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.647, allocations: 7.938 kB / 1.431 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005401/1.647, allocations: 147.9 kB / 1.431 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/1.648, allocations: 99.31 kB / 1.431 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/1.651, allocations: 3.945 MB / 1.435 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/1.651, allocations: 38.64 kB / 1.435 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/1.651, allocations: 16 kB / 1.435 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.651, allocations: 7.953 kB / 1.435 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/1.652, allocations: 0.5513 MB / 1.436 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.652, allocations: 4 kB / 1.436 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004181/1.653, allocations: 144.6 kB / 1.436 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/1.653, allocations: 99.38 kB / 1.436 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007474/1.654, allocations: 1.106 MB / 1.437 GB, free: 1.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/1.654, allocations: 31.59 kB / 1.437 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/1.654, allocations: 23.8 kB / 1.437 GB, free: 1.633 MB / 0.8855 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.0001663/1.655, allocations: 135.1 kB / 1.437 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/1.655, allocations: 31.62 kB / 1.437 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.656, allocations: 0.5451 MB / 1.438 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.656, allocations: 7.953 kB / 1.438 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.656, allocations: 8 kB / 1.438 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/1.656, allocations: 3.984 kB / 1.438 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/1.658, allocations: 1.269 MB / 1.439 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/1.658, allocations: 8.031 kB / 1.439 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/1.658, allocations: 63.89 kB / 1.439 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/1.659, allocations: 153.8 kB / 1.439 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/1.659, allocations: 11.25 kB / 1.439 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003112/1.662, allocations: 3.962 MB / 1.443 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.662, allocations: 0 / 1.443 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.663, allocations: 0.8241 MB / 1.444 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/1.663, allocations: 144.7 kB / 1.444 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/1.663, allocations: 16 kB / 1.444 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/1.664, allocations: 35.95 kB / 1.444 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/1.664, allocations: 27.97 kB / 1.444 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/1.664, allocations: 12 kB / 1.444 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001884/1.664, allocations: 173.4 kB / 1.444 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/1.664, allocations: 3.938 kB / 1.444 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008517/1.665, allocations: 171.9 kB / 1.444 GB, free: 10.07 MB / 0.9011 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.001959/1.667, allocations: 2.032 MB / 1.446 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001888/1.669, allocations: 1.089 MB / 1.447 GB, free: 6.785 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.669, allocations: 3.938 kB / 1.447 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007104/1.669, allocations: 446.1 kB / 1.448 GB, free: 6.32 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/1.67, allocations: 58.84 kB / 1.448 GB, free: 6.266 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/1.671, allocations: 0.6738 MB / 1.449 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/1.672, allocations: 0.8123 MB / 1.449 GB, free: 4.688 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004042/1.672, allocations: 118.8 kB / 1.449 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.673, allocations: 91.39 kB / 1.45 GB, free: 4.484 MB / 0.9011 GB Notification: Performance of SimCode: time 5.1e-07/1.673, allocations: 0 / 1.45 GB, free: 4.484 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/1.699, allocations: 8.51 MB / 1.458 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/1.7, allocations: 226.2 kB / 1.458 GB, free: 12 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/3.827, allocations: 0 / 1.458 GB, free: 12 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat