Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_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.22/2.22, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001059/0.00106, allocations: 168.8 kB / 487.4 MB, free: 5.043 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.645/1.645, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 99.83 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.371e-05/2.373e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2905, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8895/1.18, allocations: 181.8 MB / 1.384 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.18, allocations: 92.16 kB / 1.384 GB, free: 17.41 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.04628/1.227, allocations: 22.56 MB / 1.406 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/1.227, allocations: 0 / 1.406 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.741e-05/1.227, allocations: 8 kB / 1.406 GB, free: 22.9 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.0007349/1.227, allocations: 0.5774 MB / 1.406 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/1.227, allocations: 11.97 kB / 1.406 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/1.228, allocations: 127.2 kB / 1.406 GB, free: 22.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/1.229, allocations: 270.9 kB / 1.407 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.229, allocations: 8 kB / 1.407 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/1.229, allocations: 12 kB / 1.407 GB, free: 21.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003375/1.229, allocations: 262.8 kB / 1.407 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/1.23, allocations: 353.7 kB / 1.407 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.23, allocations: 7.875 kB / 1.407 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/1.23, allocations: 0 / 1.407 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/1.23, allocations: 36.09 kB / 1.407 GB, free: 21.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/1.232, allocations: 1.993 MB / 1.409 GB, free: 19.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/1.232, allocations: 323.7 kB / 1.41 GB, free: 19.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/1.232, allocations: 170.5 kB / 1.41 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.352e-05/1.232, allocations: 89.3 kB / 1.41 GB, free: 18.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/1.232, allocations: 34 kB / 1.41 GB, free: 18.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/1.232, allocations: 7.875 kB / 1.41 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001869/1.234, allocations: 0.8738 MB / 1.411 GB, free: 18.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.234, allocations: 85.09 kB / 1.411 GB, free: 18.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/1.235, allocations: 194.7 kB / 1.411 GB, free: 17.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/1.235, allocations: 29.73 kB / 1.411 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/1.235, allocations: 183 kB / 1.411 GB, free: 17.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/1.235, allocations: 108.2 kB / 1.411 GB, free: 17.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/1.235, allocations: 0 / 1.411 GB, free: 17.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.235, allocations: 341.3 kB / 1.412 GB, free: 17.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/1.235, allocations: 159.1 kB / 1.412 GB, free: 17.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/1.236, allocations: 264.4 kB / 1.412 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/1.236, allocations: 219.9 kB / 1.412 GB, free: 16.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.236, allocations: 0 / 1.412 GB, free: 16.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009353/1.237, allocations: 0.5773 MB / 1.413 GB, free: 16.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004627/1.237, allocations: 1.229 MB / 1.414 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.237, allocations: 4 kB / 1.414 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003407/1.238, allocations: 131.3 kB / 1.414 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/1.238, allocations: 95.06 kB / 1.414 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/1.241, allocations: 3.841 MB / 1.418 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/1.241, allocations: 36.09 kB / 1.418 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/1.241, allocations: 12 kB / 1.418 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/1.241, allocations: 4 kB / 1.418 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001001/1.242, allocations: 0.5199 MB / 1.419 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.242, allocations: 4 kB / 1.419 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/1.243, allocations: 124.8 kB / 1.419 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/1.243, allocations: 103.3 kB / 1.419 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006731/1.244, allocations: 1.112 MB / 1.42 GB, free: 9.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/1.244, allocations: 32.16 kB / 1.42 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/1.244, allocations: 23.11 kB / 1.42 GB, free: 9.09 MB / 0.8386 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.0001904/1.244, allocations: 121 kB / 1.42 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008725/1.245, allocations: 0.4901 MB / 1.42 GB, free: 8.582 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/1.245, allocations: 27.72 kB / 1.42 GB, free: 8.555 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009947/1.246, allocations: 0.5306 MB / 1.421 GB, free: 8.156 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.246, allocations: 4 kB / 1.421 GB, free: 8.152 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.246, allocations: 0 / 1.421 GB, free: 8.152 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.246, allocations: 3.984 kB / 1.421 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/1.248, allocations: 1.202 MB / 1.422 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.248, allocations: 4.031 kB / 1.422 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/1.248, allocations: 67.89 kB / 1.422 GB, free: 7.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003549/1.249, allocations: 142.5 kB / 1.422 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/1.249, allocations: 4 kB / 1.422 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/1.252, allocations: 3.855 MB / 1.426 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.252, allocations: 7.969 kB / 1.426 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/1.253, allocations: 0.8101 MB / 1.427 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/1.253, allocations: 138.8 kB / 1.427 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/1.253, allocations: 4 kB / 1.427 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/1.253, allocations: 31.95 kB / 1.427 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/1.253, allocations: 34.84 kB / 1.427 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/1.253, allocations: 8 kB / 1.427 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001574/1.253, allocations: 165.4 kB / 1.427 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.253, allocations: 0 / 1.427 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008651/1.254, allocations: 159.4 kB / 1.427 GB, free: 1.664 MB / 0.8386 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.001574/1.256, allocations: 2.017 MB / 1.429 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.257, allocations: 1.019 MB / 1.43 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.257, allocations: 8.125 kB / 1.43 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005644/1.258, allocations: 440.2 kB / 1.431 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/1.258, allocations: 41.11 kB / 1.431 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/1.26, allocations: 0.6257 MB / 1.432 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/1.26, allocations: 0.8149 MB / 1.432 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003684/1.26, allocations: 123.2 kB / 1.432 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.26, allocations: 89.03 kB / 1.433 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/1.26, allocations: 0 / 1.433 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/1.288, allocations: 7.878 MB / 1.44 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/1.288, allocations: 154.2 kB / 1.44 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.512, allocations: 0 / 1.44 GB, free: 4.77 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat