Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_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.001132/0.001132, allocations: 180 kB / 17.01 MB, free: 5.125 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.376/1.376, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009124/0.0009126, allocations: 98.88 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002431/0.000243, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2361, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.3503, allocations: 97.11 MB / 473 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.3507, allocations: 87.95 kB / 473.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0668/0.4175, allocations: 26.24 MB / 499.3 MB, free: 5.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4175, allocations: 0 / 499.3 MB, free: 5.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.805e-05/0.4176, allocations: 23.94 kB / 499.4 MB, free: 4.992 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00192/0.4195, allocations: 1.238 MB / 0.4889 GB, free: 3.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4196, allocations: 11.97 kB / 0.4889 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.4198, allocations: 152.1 kB / 0.489 GB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.4203, allocations: 174.4 kB / 0.4892 GB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.4216, allocations: 0.777 MB / 0.49 GB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.4216, allocations: 74 kB / 0.49 GB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.4218, allocations: 99.94 kB / 0.4901 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.4232, allocations: 0.9112 MB / 0.491 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.4232, allocations: 7.906 kB / 0.491 GB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.4233, allocations: 40 kB / 0.4911 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.4233, allocations: 24 kB / 0.4911 GB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.4244, allocations: 0.6325 MB / 0.4917 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1807/0.6051, allocations: 3.947 MB / 0.4956 GB, free: 95.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.6057, allocations: 362.4 kB / 0.4959 GB, free: 95.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.6057, allocations: 3.938 kB / 0.4959 GB, free: 95.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.6058, allocations: 36.88 kB / 0.4959 GB, free: 95.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.607e-06/0.6058, allocations: 5.25 kB / 0.4959 GB, free: 95.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002117/0.6079, allocations: 1.227 MB / 0.4971 GB, free: 95.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.608, allocations: 84.36 kB / 0.4972 GB, free: 95.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009142/0.6089, allocations: 0.693 MB / 0.4979 GB, free: 94.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.6089, allocations: 33.83 kB / 0.4979 GB, free: 94.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.6092, allocations: 0.5642 MB / 0.4985 GB, free: 94.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.6093, allocations: 132.2 kB / 0.4986 GB, free: 94.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.6093, allocations: 12.09 kB / 0.4986 GB, free: 94.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.6094, allocations: 334.4 kB / 0.4989 GB, free: 94.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.6097, allocations: 160.6 kB / 0.4991 GB, free: 94.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.6101, allocations: 460 kB / 0.4995 GB, free: 93.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.6105, allocations: 234.8 kB / 0.4998 GB, free: 93.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.6105, allocations: 4.75 kB / 0.4998 GB, free: 93.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001153/0.6117, allocations: 0.6999 MB / 0.5004 GB, free: 93.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.6117, allocations: 9.031 kB / 0.5005 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.6117, allocations: 10.69 kB / 0.5005 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/0.6119, allocations: 39.81 kB / 0.5005 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.6124, allocations: 165.9 kB / 0.5007 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007272/0.6132, allocations: 1.295 MB / 0.5019 GB, free: 92.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.6137, allocations: 42.52 kB / 0.502 GB, free: 92.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.6137, allocations: 32.25 kB / 0.502 GB, free: 92.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (85): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003409/0.6141, allocations: 257.8 kB / 0.5022 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.6142, allocations: 83.53 kB / 0.5023 GB, free: 92.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007009/0.6149, allocations: 403.3 kB / 0.5027 GB, free: 92.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6149, allocations: 3.219 kB / 0.5027 GB, free: 92.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.6149, allocations: 0.9688 kB / 0.5027 GB, free: 92.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.6149, allocations: 3.844 kB / 0.5027 GB, free: 92.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.6166, allocations: 1.269 MB / 0.504 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6166, allocations: 1.469 kB / 0.504 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.6169, allocations: 79.77 kB / 0.504 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.497e-05/0.617, allocations: 20.55 kB / 0.504 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.617, allocations: 8.938 kB / 0.5041 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000582/0.6176, allocations: 1.283 MB / 0.5053 GB, free: 90.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6176, allocations: 3.375 kB / 0.5053 GB, free: 90.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.6185, allocations: 0.7373 MB / 0.506 GB, free: 90.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.6187, allocations: 189.9 kB / 0.5062 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.6188, allocations: 15.97 kB / 0.5062 GB, free: 90.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.6192, allocations: 24.03 kB / 0.5063 GB, free: 90.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.6192, allocations: 28.28 kB / 0.5063 GB, free: 90.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.6193, allocations: 14.62 kB / 0.5063 GB, free: 90.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005142/0.6198, allocations: 0.525 MB / 0.5068 GB, free: 90.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6198, allocations: 0 / 0.5068 GB, free: 90.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007383/0.6205, allocations: 227.6 kB / 0.507 GB, free: 90.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * 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 (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001322/0.6219, allocations: 1.965 MB / 0.5089 GB, free: 88.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007637/0.6226, allocations: 0.5318 MB / 0.5095 GB, free: 88.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6226, allocations: 0 / 0.5095 GB, free: 88.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.623, allocations: 276.6 kB / 0.5097 GB, free: 88.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.6237, allocations: 197.8 kB / 0.5099 GB, free: 88.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006892/0.6306, allocations: 11.81 MB / 0.5215 GB, free: 79.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.631, allocations: 1.017 MB / 0.5224 GB, free: 78.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003796/0.6314, allocations: 105.4 kB / 0.5225 GB, free: 78.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.6317, allocations: 366.8 kB / 0.5229 GB, free: 78.03 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6317, allocations: 3.406 kB / 0.5229 GB, free: 78.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.6637, allocations: 19.15 MB / 0.5416 GB, free: 70.6 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.6639, allocations: 207.3 kB / 0.5418 GB, free: 70.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.044, allocations: 7.938 kB / 0.5418 GB, free: 70.36 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat