Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009585/0.0009586, allocations: 181 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008849/0.0008848, allocations: 96.09 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002361/0.0002361, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.253, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.3664, allocations: 97.54 MB / 473.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.3666, allocations: 83.94 kB / 473.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07055/0.4371, allocations: 28.17 MB / 0.49 GB, free: 2.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4372, allocations: 0 / 0.49 GB, free: 2.641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.153e-05/0.4372, allocations: 24 kB / 0.49 GB, free: 2.617 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002004/0.4393, allocations: 1.258 MB / 0.4912 GB, free: 1.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4393, allocations: 8.031 kB / 0.4912 GB, free: 1.301 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.4395, allocations: 152.2 kB / 0.4914 GB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/0.4401, allocations: 186.9 kB / 0.4915 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.4414, allocations: 0.8001 MB / 0.4923 GB, free: 120 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.4415, allocations: 78 kB / 0.4924 GB, free: 44 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1734/0.6149, allocations: 96.52 kB / 0.4925 GB, free: 97.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.6172, allocations: 0.927 MB / 0.4934 GB, free: 97.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.6173, allocations: 6.469 kB / 0.4934 GB, free: 97.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.6174, allocations: 40.34 kB / 0.4934 GB, free: 97.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.6174, allocations: 24.38 kB / 0.4935 GB, free: 97.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.6187, allocations: 0.6444 MB / 0.4941 GB, free: 97.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005033/0.6238, allocations: 3.912 MB / 0.4979 GB, free: 95.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.6247, allocations: 457.1 kB / 0.4983 GB, free: 95.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.6247, allocations: 6.406 kB / 0.4983 GB, free: 95.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.6247, allocations: 36.53 kB / 0.4984 GB, free: 95.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.625e-06/0.6248, allocations: 4.062 kB / 0.4984 GB, free: 95.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.002832/0.6276, allocations: 1.446 MB / 0.4998 GB, free: 95.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.6277, allocations: 90.45 kB / 0.4999 GB, free: 94.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.6286, allocations: 0.6961 MB / 0.5006 GB, free: 94.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.6286, allocations: 36.61 kB / 0.5006 GB, free: 94.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.6289, allocations: 0.5515 MB / 0.5011 GB, free: 94.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.629, allocations: 168.8 kB / 0.5013 GB, free: 94.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.6291, allocations: 15.12 kB / 0.5013 GB, free: 94.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.6291, allocations: 337.7 kB / 0.5016 GB, free: 94.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.6294, allocations: 173.5 kB / 0.5018 GB, free: 94.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.6299, allocations: 466.2 kB / 0.5022 GB, free: 93.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.6303, allocations: 244.9 kB / 0.5025 GB, free: 93.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6303, allocations: 4.391 kB / 0.5025 GB, free: 93.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001218/0.6315, allocations: 0.7783 MB / 0.5032 GB, free: 93.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.6316, allocations: 14.94 kB / 0.5033 GB, free: 93.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.6316, allocations: 9.531 kB / 0.5033 GB, free: 93.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002606/0.6319, allocations: 80.89 kB / 0.5033 GB, free: 93.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.6324, allocations: 161.4 kB / 0.5035 GB, free: 93.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.6342, allocations: 2.94 MB / 0.5064 GB, free: 91.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.6347, allocations: 43.25 kB / 0.5064 GB, free: 91.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.6348, allocations: 36.94 kB / 0.5064 GB, free: 91.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (86): * Single equations (assignments): 84 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004108/0.6352, allocations: 258.5 kB / 0.5067 GB, free: 90.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6353, allocations: 85.84 kB / 0.5068 GB, free: 90.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008222/0.6361, allocations: 0.4973 MB / 0.5073 GB, free: 90.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6361, allocations: 7.875 kB / 0.5073 GB, free: 90.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6362, allocations: 0 / 0.5073 GB, free: 90.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.6362, allocations: 7.75 kB / 0.5073 GB, free: 90.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.6379, allocations: 1.437 MB / 0.5087 GB, free: 90.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.638, allocations: 3.969 kB / 0.5087 GB, free: 90.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.6383, allocations: 74.08 kB / 0.5087 GB, free: 90.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001666/0.6384, allocations: 72.86 kB / 0.5088 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.6385, allocations: 19.69 kB / 0.5088 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.64, allocations: 2.908 MB / 0.5117 GB, free: 87.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.64, allocations: 7.906 kB / 0.5117 GB, free: 87.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009939/0.641, allocations: 0.8747 MB / 0.5125 GB, free: 86.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.6412, allocations: 200.9 kB / 0.5127 GB, free: 86.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.585e-05/0.6413, allocations: 11.97 kB / 0.5127 GB, free: 86.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.6417, allocations: 33.22 kB / 0.5128 GB, free: 86.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.6418, allocations: 44.91 kB / 0.5128 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.6418, allocations: 14.69 kB / 0.5128 GB, free: 86.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005471/0.6424, allocations: 0.5303 MB / 0.5133 GB, free: 86.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.6424, allocations: 0 / 0.5133 GB, free: 86.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008968/0.6433, allocations: 241.1 kB / 0.5136 GB, free: 86.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.6448, allocations: 2.106 MB / 0.5156 GB, free: 84.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009287/0.6458, allocations: 0.7095 MB / 0.5163 GB, free: 84.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6458, allocations: 0 / 0.5163 GB, free: 84.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.6463, allocations: 464.1 kB / 0.5168 GB, free: 83.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008195/0.6471, allocations: 208.2 kB / 0.517 GB, free: 83.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007252/0.6544, allocations: 11.5 MB / 0.5282 GB, free: 74.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.6548, allocations: 1.032 MB / 0.5292 GB, free: 73.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004827/0.6553, allocations: 110.9 kB / 0.5293 GB, free: 73.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.6556, allocations: 373.6 kB / 0.5297 GB, free: 73.35 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6556, allocations: 0 / 0.5297 GB, free: 73.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.6881, allocations: 20.39 MB / 0.5496 GB, free: 62.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.6883, allocations: 211.4 kB / 0.5498 GB, free: 61.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.179, allocations: 8 kB / 0.5498 GB, free: 61.83 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat