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.252/2.252, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.001098/0.001098, allocations: 171.5 kB / 492.3 MB, free: 0.6328 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.579/1.579, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.001009/0.001009, allocations: 95.83 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.342e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2529, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8973/1.15, allocations: 179.9 MB / 1.388 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.151, allocations: 86.3 kB / 1.388 GB, free: 17.27 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.197, allocations: 20.23 MB / 1.408 GB, free: 19.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.412e-06/1.197, allocations: 0 / 1.408 GB, free: 19.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.971e-05/1.197, allocations: 4 kB / 1.408 GB, free: 19.23 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.0007254/1.198, allocations: 0.521 MB / 1.408 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.198, allocations: 8.031 kB / 1.408 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.901e-05/1.198, allocations: 64.77 kB / 1.409 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000884/1.199, allocations: 107.6 kB / 1.409 GB, free: 18.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/1.199, allocations: 259.8 kB / 1.409 GB, free: 18.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/1.199, allocations: 20.17 kB / 1.409 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/1.199, allocations: 19.5 kB / 1.409 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/1.2, allocations: 344 kB / 1.409 GB, free: 17.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/1.2, allocations: 0 / 1.409 GB, free: 17.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/1.2, allocations: 3.188 kB / 1.409 GB, free: 17.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/1.2, allocations: 24.11 kB / 1.409 GB, free: 17.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/1.2, allocations: 290.4 kB / 1.41 GB, free: 17.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/1.202, allocations: 1.742 MB / 1.411 GB, free: 16.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/1.202, allocations: 313.5 kB / 1.412 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/1.203, allocations: 112.3 kB / 1.412 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/1.203, allocations: 85.11 kB / 1.412 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/1.203, allocations: 46.48 kB / 1.412 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/1.203, allocations: 0 / 1.412 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.002405/1.205, allocations: 0.7931 MB / 1.413 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.205, allocations: 85.23 kB / 1.413 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/1.205, allocations: 188.7 kB / 1.413 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/1.206, allocations: 25.7 kB / 1.413 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/1.206, allocations: 179.6 kB / 1.413 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/1.206, allocations: 73.27 kB / 1.413 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/1.206, allocations: 11.19 kB / 1.413 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.206, allocations: 333.6 kB / 1.413 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/1.206, allocations: 127.9 kB / 1.414 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/1.206, allocations: 201.5 kB / 1.414 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/1.207, allocations: 171.3 kB / 1.414 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.207, allocations: 11.94 kB / 1.414 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009089/1.207, allocations: 0.4927 MB / 1.414 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.208, allocations: 8.25 kB / 1.414 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.208, allocations: 8 kB / 1.414 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/1.208, allocations: 154.5 kB / 1.415 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/1.208, allocations: 59.66 kB / 1.415 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/1.211, allocations: 3.955 MB / 1.418 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/1.212, allocations: 19.91 kB / 1.419 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/1.212, allocations: 12 kB / 1.419 GB, free: 8.941 MB / 0.8386 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 () * 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.0001158/1.212, allocations: 121.5 kB / 1.419 GB, free: 8.828 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/1.212, allocations: 15.81 kB / 1.419 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008733/1.213, allocations: 483.7 kB / 1.419 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.213, allocations: 4 kB / 1.419 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/1.213, allocations: 0 / 1.419 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.213, allocations: 4 kB / 1.419 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/1.214, allocations: 1.008 MB / 1.42 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.214, allocations: 0 / 1.42 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/1.215, allocations: 35.92 kB / 1.42 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/1.215, allocations: 147.8 kB / 1.42 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/1.215, allocations: 4 kB / 1.42 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/1.218, allocations: 3.943 MB / 1.424 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.218, allocations: 4 kB / 1.424 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.219, allocations: 0.7286 MB / 1.425 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/1.22, allocations: 127.3 kB / 1.425 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/1.22, allocations: 11.48 kB / 1.425 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/1.22, allocations: 15.17 kB / 1.425 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/1.22, allocations: 27.05 kB / 1.425 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/1.22, allocations: 10.94 kB / 1.425 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001845/1.22, allocations: 165.9 kB / 1.425 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.61e-07/1.22, allocations: 0 / 1.425 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000616/1.221, allocations: 102.2 kB / 1.425 GB, free: 2.195 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.001689/1.223, allocations: 1.933 MB / 1.427 GB, free: 292 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00105/1.224, allocations: 0.5444 MB / 1.428 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.224, allocations: 4.625 kB / 1.428 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005402/1.224, allocations: 395.3 kB / 1.428 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/1.225, allocations: 35.05 kB / 1.428 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/1.226, allocations: 0.5678 MB / 1.429 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/1.227, allocations: 0.792 MB / 1.429 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002053/1.227, allocations: 54.03 kB / 1.43 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/1.227, allocations: 71.28 kB / 1.43 GB, free: 14 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/1.227, allocations: 0 / 1.43 GB, free: 14 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/1.249, allocations: 6.215 MB / 1.436 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.249, allocations: 183.5 kB / 1.436 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/3.081, allocations: 3.938 kB / 1.436 GB, free: 7.742 MB / 0.8542 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