Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.SynchronousInductionMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",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.001055/0.001055, 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.362/1.362, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008657/0.0008656, allocations: 96.84 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2237, allocations: 47.57 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.351, allocations: 114.6 MB / 490.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.3513, allocations: 87.95 kB / 490.6 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3704/0.7218, allocations: 85.89 MB / 0.5629 GB, free: 54.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.7218, allocations: 0 / 0.5629 GB, free: 54.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000344/0.7222, allocations: 75.88 kB / 0.563 GB, free: 54.4 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01115/0.7334, allocations: 3.177 MB / 0.5661 GB, free: 51.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.7334, allocations: 12.03 kB / 0.5661 GB, free: 51.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001321/0.7347, allocations: 395.9 kB / 0.5665 GB, free: 50.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.7369, allocations: 447.8 kB / 0.5669 GB, free: 50.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/0.7418, allocations: 1.957 MB / 0.5688 GB, free: 48.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.742, allocations: 209.4 kB / 0.569 GB, free: 48.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008264/0.7429, allocations: 267.9 kB / 0.5693 GB, free: 47.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00715/0.75, allocations: 3.506 MB / 0.5727 GB, free: 44.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.7502, allocations: 4 kB / 0.5727 GB, free: 44.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004338/0.7506, allocations: 115.9 kB / 0.5728 GB, free: 44.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.7508, allocations: 117.2 kB / 0.573 GB, free: 43.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005068/0.7559, allocations: 2.859 MB / 0.5757 GB, free: 41.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.7717, allocations: 11.24 MB / 0.5867 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.774, allocations: 2.338 MB / 0.589 GB, free: 26.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.7743, allocations: 223.5 kB / 0.5892 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.7744, allocations: 47.88 kB / 0.5893 GB, free: 26.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=134): time 3.767e-06/0.7744, allocations: 0 / 0.5893 GB, free: 26.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.01585/0.7902, allocations: 8.731 MB / 0.5978 GB, free: 17.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.7903, allocations: 68.72 kB / 0.5979 GB, free: 17.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.7925, allocations: 1.743 MB / 0.5996 GB, free: 15.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.92e-05/0.7926, allocations: 49.7 kB / 0.5996 GB, free: 15.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006136/0.7932, allocations: 1.3 MB / 0.6009 GB, free: 14.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.7935, allocations: 0.5314 MB / 0.6014 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/0.7936, allocations: 40 kB / 0.6014 GB, free: 14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7938, allocations: 385.8 kB / 0.6018 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.795, allocations: 0.9447 MB / 0.6027 GB, free: 12.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.7963, allocations: 1.395 MB / 0.6041 GB, free: 11.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.7977, allocations: 1.158 MB / 0.6052 GB, free: 9.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.7977, allocations: 4 kB / 0.6052 GB, free: 9.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.004316/0.8021, allocations: 3.164 MB / 0.6083 GB, free: 6.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.8021, allocations: 16 kB / 0.6083 GB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.8021, allocations: 12 kB / 0.6083 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.8035, allocations: 0.6304 MB / 0.609 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.805, allocations: 443.3 kB / 0.6094 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006414/0.8114, allocations: 5.932 MB / 0.6152 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.8133, allocations: 143.7 kB / 0.6153 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.8135, allocations: 72 kB / 0.6154 GB, free: 15.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001859/0.8154, allocations: 0.8525 MB / 0.6162 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/0.8158, allocations: 209.5 kB / 0.6164 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/0.8212, allocations: 2.854 MB / 0.6192 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.8212, allocations: 16 kB / 0.6192 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.8213, allocations: 11.98 kB / 0.6192 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.8213, allocations: 7.969 kB / 0.6192 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.8328, allocations: 5.861 MB / 0.625 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/0.8329, allocations: 4.219 kB / 0.625 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.8342, allocations: 283.6 kB / 0.6252 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.8365, allocations: 0.6926 MB / 0.6259 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.8366, allocations: 39.98 kB / 0.6259 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.8471, allocations: 7.711 MB / 0.6335 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8472, allocations: 8.125 kB / 0.6335 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00799/0.8552, allocations: 4.252 MB / 0.6376 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/0.8571, allocations: 0.4906 MB / 0.6381 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003656/0.8574, allocations: 35.98 kB / 0.6381 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.8587, allocations: 111.9 kB / 0.6383 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/0.859, allocations: 129.1 kB / 0.6384 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.8591, allocations: 47.98 kB / 0.6384 GB, free: 7.227 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002157/0.8613, allocations: 1.336 MB / 0.6397 GB, free: 5.867 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8613, allocations: 0 / 0.6397 GB, free: 5.867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00255/0.8639, allocations: 0.6796 MB / 0.6404 GB, free: 5.188 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2474/1.111, allocations: 5.488 MB / 0.6458 GB, free: 92.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005387/1.117, allocations: 2.801 MB / 0.6485 GB, free: 92.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.117, allocations: 0 / 0.6485 GB, free: 92.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00296/1.12, allocations: 1.739 MB / 0.6502 GB, free: 91.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/1.123, allocations: 456.4 kB / 0.6506 GB, free: 91.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/1.151, allocations: 27.07 MB / 0.6771 GB, free: 76.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.152, allocations: 2.206 MB / 0.6792 GB, free: 75.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001563/1.154, allocations: 447.2 kB / 0.6796 GB, free: 75.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.155, allocations: 1.061 MB / 0.6807 GB, free: 75.84 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/1.155, allocations: 0 / 0.6807 GB, free: 75.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07722/1.232, allocations: 55.75 MB / 0.7351 GB, free: 48.45 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.232, allocations: 233.6 kB / 0.7353 GB, free: 48.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.549/4.782, allocations: 0 / 0.7353 GB, free: 48.2 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat does not exist to compare? outputFormat=mat