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.001041/0.001041, allocations: 177.2 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.505/1.505, allocations: 205.3 MB / 214.4 MB, free: 1.742 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.000985/0.000985, allocations: 80.11 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.629e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08781/0.08784, allocations: 47.57 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.4736, allocations: 114.1 MB / 477.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.474, allocations: 83.7 kB / 477.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4388/0.9128, allocations: 84.9 MB / 0.549 GB, free: 90.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.9129, allocations: 3.719 kB / 0.549 GB, free: 90.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003025/0.9132, allocations: 73.91 kB / 0.5491 GB, free: 90.51 MB / 410.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.008495/0.9217, allocations: 2.798 MB / 0.5518 GB, free: 89.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.9218, allocations: 7.875 kB / 0.5518 GB, free: 89.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.9245, allocations: 446.6 kB / 0.5523 GB, free: 89.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005366/0.9299, allocations: 1.951 MB / 0.5542 GB, free: 88.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.93, allocations: 85.53 kB / 0.5543 GB, free: 88.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007108/0.9307, allocations: 162.9 kB / 0.5544 GB, free: 88.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004965/0.9357, allocations: 2.532 MB / 0.5569 GB, free: 88.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005823/0.9416, allocations: 3.022 MB / 0.5598 GB, free: 88.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/0.9417, allocations: 7.281 kB / 0.5598 GB, free: 88.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.9419, allocations: 0 / 0.5598 GB, free: 88.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.942, allocations: 114.2 kB / 0.56 GB, free: 88.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.9594, allocations: 10.73 MB / 0.5704 GB, free: 85.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.9619, allocations: 2.209 MB / 0.5726 GB, free: 84.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.9631, allocations: 0.945 MB / 0.5735 GB, free: 84.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003769/0.9635, allocations: 223.1 kB / 0.5737 GB, free: 84.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.9636, allocations: 61.17 kB / 0.5738 GB, free: 84.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=136): time 4.579e-06/0.9636, allocations: 0 / 0.5738 GB, free: 84.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.01129/0.9749, allocations: 5.712 MB / 0.5794 GB, free: 82.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.9749, allocations: 69.44 kB / 0.5794 GB, free: 82.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.9776, allocations: 1.46 MB / 0.5809 GB, free: 81.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002672/0.9779, allocations: 25.7 kB / 0.5809 GB, free: 81.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006709/0.9786, allocations: 1.307 MB / 0.5822 GB, free: 80.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.979, allocations: 0.5173 MB / 0.5827 GB, free: 80.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/0.9791, allocations: 0 / 0.5827 GB, free: 80.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.9792, allocations: 374.1 kB / 0.583 GB, free: 80 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.9803, allocations: 0.8491 MB / 0.5838 GB, free: 79.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.9815, allocations: 1.294 MB / 0.5851 GB, free: 78.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.9828, allocations: 1.056 MB / 0.5861 GB, free: 78.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.9828, allocations: 3.531 kB / 0.5861 GB, free: 78.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.004564/0.9874, allocations: 2.836 MB / 0.5889 GB, free: 77.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.9875, allocations: 15.05 kB / 0.5889 GB, free: 77.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.926e-05/0.9875, allocations: 18.16 kB / 0.5889 GB, free: 77.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.989, allocations: 0.6154 MB / 0.5895 GB, free: 77.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.9906, allocations: 438.7 kB / 0.59 GB, free: 77.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006124/0.9968, allocations: 5.478 MB / 0.5953 GB, free: 74.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.9989, allocations: 97.47 kB / 0.5954 GB, free: 74.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003498/0.9993, allocations: 73.31 kB / 0.5955 GB, free: 74.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * 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.0003765/0.9996, allocations: 155.3 kB / 0.5956 GB, free: 74.07 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004093/1.004, allocations: 2.411 MB / 0.598 GB, free: 73.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006588/1.004, allocations: 201.4 kB / 0.5982 GB, free: 73.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00432/1.009, allocations: 2.572 MB / 0.6007 GB, free: 72.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.009, allocations: 17.56 kB / 0.6007 GB, free: 72.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.009, allocations: 6.938 kB / 0.6007 GB, free: 72.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.009, allocations: 7.219 kB / 0.6007 GB, free: 72.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009042/1.018, allocations: 5.299 MB / 0.6059 GB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/1.018, allocations: 3.969 kB / 0.6059 GB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.019, allocations: 292 kB / 0.6062 GB, free: 70 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/1.021, allocations: 0.6756 MB / 0.6068 GB, free: 69.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/1.021, allocations: 17.86 kB / 0.6068 GB, free: 69.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007164/1.028, allocations: 7.137 MB / 0.6138 GB, free: 63.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.138e-06/1.028, allocations: 11.89 kB / 0.6138 GB, free: 63.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/1.034, allocations: 3.98 MB / 0.6177 GB, free: 59.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.035, allocations: 479.6 kB / 0.6182 GB, free: 58.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000514/1.036, allocations: 15.89 kB / 0.6182 GB, free: 58.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.037, allocations: 94.52 kB / 0.6183 GB, free: 58.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/1.037, allocations: 124.6 kB / 0.6184 GB, free: 58.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.038, allocations: 47.23 kB / 0.6184 GB, free: 58.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001844/1.039, allocations: 1.092 MB / 0.6195 GB, free: 57.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.039, allocations: 4 kB / 0.6195 GB, free: 57.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00291/1.042, allocations: 0.5703 MB / 0.6201 GB, free: 57.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 118 * 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,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005853/1.048, allocations: 5.364 MB / 0.6253 GB, free: 52.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003709/1.052, allocations: 2.558 MB / 0.6278 GB, free: 49.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.052, allocations: 4.25 kB / 0.6278 GB, free: 49.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/1.054, allocations: 1.608 MB / 0.6294 GB, free: 48.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.057, allocations: 360 kB / 0.6297 GB, free: 48.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/1.068, allocations: 5.202 MB / 0.6348 GB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/1.069, allocations: 2.203 MB / 0.637 GB, free: 41.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001644/1.071, allocations: 434.4 kB / 0.6374 GB, free: 41.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/1.072, allocations: 1.047 MB / 0.6384 GB, free: 40.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/1.072, allocations: 0 / 0.6384 GB, free: 40.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08218/1.155, allocations: 47.43 MB / 0.6847 GB, free: 11.52 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/1.155, allocations: 180.2 kB / 0.6849 GB, free: 11.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/4.422, allocations: 0 / 0.6849 GB, free: 11.31 MB / 426.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