Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.259/2.259, 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.001108/0.001108, allocations: 180.8 kB / 487.4 MB, free: 5.027 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.683/1.683, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.0008661/0.0008661, allocations: 99.84 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/1.976e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2921, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9117/1.204, allocations: 179.2 MB / 1.381 GB, free: 17.69 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/1.204, allocations: 85.58 kB / 1.381 GB, free: 17.69 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.04274/1.247, allocations: 20.16 MB / 1.401 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/1.247, allocations: 0 / 1.401 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.908e-05/1.247, allocations: 11.69 kB / 1.401 GB, free: 25.3 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008021/1.248, allocations: 0.5175 MB / 1.401 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.248, allocations: 10.97 kB / 1.401 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008443/1.249, allocations: 100.3 kB / 1.401 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/1.249, allocations: 271.6 kB / 1.402 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/1.249, allocations: 11.69 kB / 1.402 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/1.249, allocations: 7.719 kB / 1.402 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003211/1.249, allocations: 234 kB / 1.402 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/1.25, allocations: 312.8 kB / 1.402 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.25, allocations: 0 / 1.402 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/1.25, allocations: 0 / 1.402 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/1.25, allocations: 23.02 kB / 1.402 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/1.252, allocations: 1.689 MB / 1.404 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/1.252, allocations: 308.9 kB / 1.404 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/1.252, allocations: 97.5 kB / 1.404 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-05/1.252, allocations: 96 kB / 1.404 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/1.252, allocations: 30.56 kB / 1.404 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/1.252, allocations: 7.656 kB / 1.404 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.001582/1.254, allocations: 0.6771 MB / 1.405 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/1.254, allocations: 81.33 kB / 1.405 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/1.254, allocations: 179.5 kB / 1.405 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/1.254, allocations: 25.7 kB / 1.405 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/1.254, allocations: 170.5 kB / 1.406 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/1.254, allocations: 80.34 kB / 1.406 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/1.254, allocations: 0 / 1.406 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.255, allocations: 326.3 kB / 1.406 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/1.255, allocations: 123.8 kB / 1.406 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/1.255, allocations: 209.3 kB / 1.406 GB, free: 21.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/1.255, allocations: 190.5 kB / 1.406 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.255, allocations: 0 / 1.406 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000802/1.256, allocations: 0.5061 MB / 1.407 GB, free: 21.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.256, allocations: 7.938 kB / 1.407 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.256, allocations: 4 kB / 1.407 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/1.257, allocations: 137.3 kB / 1.407 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/1.257, allocations: 59.28 kB / 1.407 GB, free: 20.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/1.259, allocations: 3.855 MB / 1.411 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/1.26, allocations: 11.98 kB / 1.411 GB, free: 16.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/1.26, allocations: 11.94 kB / 1.411 GB, free: 16.93 MB / 0.8386 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * 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.0001527/1.26, allocations: 125 kB / 1.411 GB, free: 16.8 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007303/1.261, allocations: 420.8 kB / 1.411 GB, free: 16.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/1.261, allocations: 27.67 kB / 1.411 GB, free: 16.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007832/1.261, allocations: 470.4 kB / 1.412 GB, free: 16.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.261, allocations: 7.953 kB / 1.412 GB, free: 16.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/1.261, allocations: 0 / 1.412 GB, free: 16.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.261, allocations: 0 / 1.412 GB, free: 16.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/1.263, allocations: 0.9532 MB / 1.413 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.263, allocations: 0 / 1.413 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/1.263, allocations: 39.91 kB / 1.413 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/1.263, allocations: 131 kB / 1.413 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/1.263, allocations: 6.75 kB / 1.413 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/1.266, allocations: 3.849 MB / 1.417 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.266, allocations: 0 / 1.417 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/1.266, allocations: 0.718 MB / 1.417 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.267, allocations: 131.3 kB / 1.418 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/1.267, allocations: 8 kB / 1.418 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/1.267, allocations: 11.98 kB / 1.418 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/1.267, allocations: 27.48 kB / 1.418 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/1.267, allocations: 11.94 kB / 1.418 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001069/1.267, allocations: 145.2 kB / 1.418 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.267, allocations: 0 / 1.418 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005512/1.268, allocations: 103.5 kB / 1.418 GB, free: 10.03 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 (21): * Single equations (assignments): 17 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001387/1.269, allocations: 1.916 MB / 1.42 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007106/1.27, allocations: 0.5263 MB / 1.42 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.27, allocations: 0 / 1.42 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000465/1.27, allocations: 374.9 kB / 1.421 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/1.271, allocations: 40.19 kB / 1.421 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/1.272, allocations: 0.5257 MB / 1.421 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/1.272, allocations: 0.7857 MB / 1.422 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001811/1.272, allocations: 58.03 kB / 1.422 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/1.272, allocations: 76.53 kB / 1.422 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.272, allocations: 0 / 1.422 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/1.303, allocations: 5.655 MB / 1.428 GB, free: 292 kB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/1.304, allocations: 145.6 kB / 1.428 GB, free: 92 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/3.065, allocations: 3.938 kB / 1.428 GB, free: 88 kB / 0.8386 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat does not exist to compare? outputFormat=mat