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.001087/0.001087, allocations: 177.9 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000857/0.0008572, allocations: 86.2 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.961e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09335, allocations: 47.58 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.4187, allocations: 96.6 MB / 459.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.419, allocations: 82.2 kB / 459.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06622/0.4853, allocations: 25.89 MB / 485.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4853, allocations: 0 / 485.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.776e-05/0.4854, allocations: 23.94 kB / 485.8 MB, free: 9.887 MB / 362.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.001764/0.4871, allocations: 1.1 MB / 486.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4872, allocations: 12.03 kB / 486.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005707/0.4878, allocations: 170.4 kB / 487 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.4891, allocations: 0.7678 MB / 487.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.4891, allocations: 35.95 kB / 487.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.4892, allocations: 56 kB / 487.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00093/0.4902, allocations: 0.5109 MB / 488.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.4914, allocations: 0.7408 MB / 489.1 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.4915, allocations: 10.28 kB / 489.2 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.938e-05/0.4915, allocations: 7.938 kB / 489.2 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.4916, allocations: 24 kB / 489.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/0.4962, allocations: 3.754 MB / 492.9 MB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.4967, allocations: 312.8 kB / 493.2 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.4969, allocations: 117.4 kB / 493.4 MB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.4969, allocations: 8.266 kB / 493.4 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.497, allocations: 42.78 kB / 493.4 MB, free: 2.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.155e-06/0.497, allocations: 0 / 493.4 MB, free: 2.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001393/0.4984, allocations: 0.8815 MB / 494.3 MB, free: 1.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.4984, allocations: 81.11 kB / 494.4 MB, free: 1.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.4991, allocations: 0.5702 MB / 494.9 MB, free: 1.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.4992, allocations: 29.7 kB / 495 MB, free: 1.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.4995, allocations: 0.5716 MB / 495.5 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.4996, allocations: 126.1 kB / 495.7 MB, free: 424 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.4996, allocations: 0 / 495.7 MB, free: 424 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4998, allocations: 382.8 kB / 496 MB, free: 32 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.5, allocations: 113.6 kB / 496.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.5004, allocations: 420.2 kB / 496.6 MB, free: 15.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.5007, allocations: 183.8 kB / 496.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.5007, allocations: 4 kB / 496.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008421/0.5015, allocations: 0.5641 MB / 497.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5015, allocations: 8 kB / 497.3 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.5016, allocations: 12 kB / 497.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.5017, allocations: 40.8 kB / 497.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.5022, allocations: 159.7 kB / 497.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008609/0.5031, allocations: 1.241 MB / 498.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.5036, allocations: 28.14 kB / 498.8 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.5036, allocations: 32 kB / 498.8 MB, free: 12.98 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 () * 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.0001163/0.5037, allocations: 132.7 kB / 499 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004583/0.5042, allocations: 305.3 kB / 499.3 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.561e-05/0.5043, allocations: 83.05 kB / 499.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.5048, allocations: 310.2 kB / 499.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5048, allocations: 4 kB / 499.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5048, allocations: 0 / 499.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5049, allocations: 7.922 kB / 499.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.5063, allocations: 1.053 MB / 0.489 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.5063, allocations: 3.984 kB / 0.489 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.5066, allocations: 71.91 kB / 0.489 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.127e-05/0.5067, allocations: 33.02 kB / 0.4891 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.5068, allocations: 7.938 kB / 0.4891 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007619/0.5075, allocations: 1.221 MB / 0.4903 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5075, allocations: 4.031 kB / 0.4903 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.5082, allocations: 0.6271 MB / 0.4909 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.5084, allocations: 180.2 kB / 0.4911 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.5085, allocations: 4 kB / 0.4911 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.5088, allocations: 19.98 kB / 0.4911 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.5089, allocations: 27.95 kB / 0.4911 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.5089, allocations: 12 kB / 0.4911 GB, free: 8.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004921/0.5094, allocations: 443.1 kB / 0.4915 GB, free: 8.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.362e-06/0.5094, allocations: 0 / 0.4915 GB, free: 8.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006811/0.5101, allocations: 183.9 kB / 0.4917 GB, free: 7.965 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 () * 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.001558/0.5117, allocations: 1.809 MB / 0.4935 GB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008276/0.5125, allocations: 442.6 kB / 0.4939 GB, free: 5.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5125, allocations: 0 / 0.4939 GB, free: 5.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.5129, allocations: 235.5 kB / 0.4941 GB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/0.5138, allocations: 167.7 kB / 0.4943 GB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.5164, allocations: 1.352 MB / 0.4956 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.517, allocations: 1.015 MB / 0.4966 GB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004045/0.5174, allocations: 98.42 kB / 0.4967 GB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.5178, allocations: 363.3 kB / 0.497 GB, free: 2.316 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5178, allocations: 0 / 0.497 GB, free: 2.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.555, allocations: 15.02 MB / 0.5117 GB, free: 3.273 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.5553, allocations: 148.8 kB / 0.5119 GB, free: 3.082 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/2.859, allocations: 0 / 0.5119 GB, free: 3.082 MB / 394.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