Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.317/2.317, allocations: 393.5 MB / 408.4 MB, free: 10.87 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.001068/0.001068, allocations: 195.4 kB / 0.4902 GB, free: 2.086 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.557/1.557, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.00103/0.00103, allocations: 94.86 kB / 0.9396 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 11.53 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3801, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.6098, allocations: 180.7 MB / 1.406 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.6102, allocations: 95.94 kB / 1.406 GB, free: 4.531 MB / 0.9011 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.7752/1.385, allocations: 20.36 MB / 1.426 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.446e-06/1.386, allocations: 0 / 1.426 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.681e-05/1.386, allocations: 3.781 kB / 1.426 GB, free: 184.4 MB / 0.9167 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.001265/1.387, allocations: 0.5448 MB / 1.426 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/1.387, allocations: 15.73 kB / 1.426 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.981e-05/1.387, allocations: 59.33 kB / 1.426 GB, free: 184 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/1.388, allocations: 108.7 kB / 1.426 GB, free: 184 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/1.388, allocations: 254.8 kB / 1.427 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/1.388, allocations: 17.05 kB / 1.427 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/1.388, allocations: 18.97 kB / 1.427 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/1.389, allocations: 349.7 kB / 1.427 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/1.389, allocations: 5.531 kB / 1.427 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/1.389, allocations: 3.188 kB / 1.427 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/1.389, allocations: 23.02 kB / 1.427 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/1.39, allocations: 299.1 kB / 1.427 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/1.392, allocations: 1.74 MB / 1.429 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/1.392, allocations: 327.1 kB / 1.429 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/1.392, allocations: 92.11 kB / 1.429 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.392, allocations: 34.44 kB / 1.43 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/1.392, allocations: 3.688 kB / 1.43 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.002441/1.395, allocations: 0.9664 MB / 1.43 GB, free: 182 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.395, allocations: 85.7 kB / 1.431 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/1.395, allocations: 189.9 kB / 1.431 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/1.395, allocations: 30.7 kB / 1.431 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/1.395, allocations: 170.4 kB / 1.431 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/1.395, allocations: 85.77 kB / 1.431 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/1.395, allocations: 6.312 kB / 1.431 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/1.395, allocations: 336.3 kB / 1.431 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/1.396, allocations: 128.2 kB / 1.431 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/1.396, allocations: 216.7 kB / 1.432 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/1.396, allocations: 164.3 kB / 1.432 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.396, allocations: 0 / 1.432 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009552/1.397, allocations: 0.4977 MB / 1.432 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.397, allocations: 7.422 kB / 1.432 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.397, allocations: 4.375 kB / 1.432 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/1.398, allocations: 155.8 kB / 1.432 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/1.398, allocations: 60.3 kB / 1.433 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/1.401, allocations: 3.986 MB / 1.436 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/1.401, allocations: 28.58 kB / 1.436 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/1.401, allocations: 11.89 kB / 1.436 GB, free: 177.5 MB / 0.9167 GB 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 () * Number of clocked 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.0002103/1.401, allocations: 163.2 kB / 1.437 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/1.402, allocations: 19.09 kB / 1.437 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009873/1.403, allocations: 485.2 kB / 1.437 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.403, allocations: 3.375 kB / 1.437 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.403, allocations: 1.766 kB / 1.437 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.403, allocations: 2.297 kB / 1.437 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/1.404, allocations: 1.004 MB / 1.438 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/1.404, allocations: 6.297 kB / 1.438 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/1.404, allocations: 33.75 kB / 1.438 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004968/1.405, allocations: 150.2 kB / 1.438 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/1.405, allocations: 13.77 kB / 1.438 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/1.408, allocations: 3.97 MB / 1.442 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.408, allocations: 3.156 kB / 1.442 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009676/1.409, allocations: 0.7373 MB / 1.443 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/1.409, allocations: 132.7 kB / 1.443 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/1.409, allocations: 11.05 kB / 1.443 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/1.409, allocations: 18.91 kB / 1.443 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/1.409, allocations: 27.91 kB / 1.443 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/1.409, allocations: 8.25 kB / 1.443 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001804/1.409, allocations: 158.6 kB / 1.443 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.409, allocations: 4 kB / 1.443 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006845/1.41, allocations: 106.4 kB / 1.443 GB, free: 172.6 MB / 0.9167 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 () * Number of clocked 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.001325/1.411, allocations: 1.927 MB / 1.445 GB, free: 171 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001002/1.412, allocations: 0.5515 MB / 1.446 GB, free: 170.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.412, allocations: 3.562 kB / 1.446 GB, free: 170.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005429/1.413, allocations: 404.1 kB / 1.446 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/1.413, allocations: 35.94 kB / 1.446 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/1.417, allocations: 3.34 MB / 1.449 GB, free: 168.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/1.417, allocations: 0.7855 MB / 1.45 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002157/1.418, allocations: 55.58 kB / 1.45 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/1.418, allocations: 68.67 kB / 1.45 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.633e-06/1.418, allocations: 0 / 1.45 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/1.449, allocations: 6.183 MB / 1.456 GB, free: 167.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/1.449, allocations: 217.4 kB / 1.457 GB, free: 166.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/3.385, allocations: 0 / 1.457 GB, free: 166.9 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat does not exist to compare? outputFormat=mat