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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 96.94 kB / 16.94 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 180.4 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005294/0.0005296, allocations: 23.28 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 47.56 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01323/0.1288, allocations: 9.545 MB / 338 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.1406, allocations: 3.87 MB / 341.8 MB, free: 6.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.1438, allocations: 47.75 kB / 341.9 MB, free: 6.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003349/0.1471, allocations: 0.6842 MB / 342.6 MB, free: 5.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.1515, allocations: 0.8606 MB / 343.4 MB, free: 4.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.1533, allocations: 339.5 kB / 343.8 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005005/0.1583, allocations: 2.243 MB / 346 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004428/0.1628, allocations: 1.797 MB / 347.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.1656, allocations: 1.074 MB / 348.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00377/0.1694, allocations: 1.405 MB / 350.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001398/0.1708, allocations: 172 kB / 350.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.1729, allocations: 367.6 kB / 350.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002087/0.175, allocations: 0.8295 MB / 351.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.1772, allocations: 0.6212 MB / 352.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006753/0.184, allocations: 4.25 MB / 356.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.184, allocations: 0 / 356.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.184, allocations: 0 / 356.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002468/0.1843, allocations: 0 / 356.5 MB, free: 7.789 MB / 302.1 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.01034/0.1946, allocations: 3.181 MB / 359.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.1947, allocations: 8.031 kB / 359.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001595/0.1963, allocations: 387.9 kB / 360.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.1994, allocations: 431.8 kB / 360.5 MB, free: 3.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005342/0.2047, allocations: 1.79 MB / 362.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/0.2052, allocations: 209.4 kB / 362.5 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/0.2065, allocations: 268 kB / 362.8 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007361/0.2139, allocations: 3.494 MB / 366.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.284e-05/0.214, allocations: 7.906 kB / 366.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/0.2143, allocations: 111.9 kB / 366.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.2144, allocations: 125.2 kB / 366.5 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0051/0.2195, allocations: 2.98 MB / 369.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1856/0.4052, allocations: 11.13 MB / 380.6 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.4089, allocations: 2.295 MB / 382.9 MB, free: 45.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.4093, allocations: 204.3 kB / 383.1 MB, free: 45.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.4093, allocations: 49.42 kB / 383.1 MB, free: 45.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.787e-06/0.4093, allocations: 0 / 383.1 MB, free: 45.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01728/0.4266, allocations: 7.769 MB / 390.9 MB, free: 43.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.4267, allocations: 66.31 kB / 391 MB, free: 43.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/0.4295, allocations: 1.949 MB / 392.9 MB, free: 42.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.4297, allocations: 48.64 kB / 393 MB, free: 42.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007009/0.4304, allocations: 1.313 MB / 394.3 MB, free: 41.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.4307, allocations: 0.5069 MB / 394.8 MB, free: 40.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.559e-05/0.4308, allocations: 34.88 kB / 394.8 MB, free: 40.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.431, allocations: 373 kB / 395.2 MB, free: 40.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.4324, allocations: 0.8969 MB / 396.1 MB, free: 40.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.4339, allocations: 1.371 MB / 397.5 MB, free: 39.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.4353, allocations: 1.107 MB / 398.6 MB, free: 38.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.4354, allocations: 3.938 kB / 398.6 MB, free: 38.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00447/0.4398, allocations: 2.968 MB / 401.5 MB, free: 37.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.4399, allocations: 12.62 kB / 401.5 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.4399, allocations: 13.78 kB / 401.6 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.4409, allocations: 446.9 kB / 402 MB, free: 37.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.4426, allocations: 446.6 kB / 402.4 MB, free: 37.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004792/0.4474, allocations: 5.482 MB / 407.9 MB, free: 32.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.4493, allocations: 125.3 kB / 408 MB, free: 32.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.4494, allocations: 83.11 kB / 408.1 MB, free: 32.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (202): * Single equations (assignments): 197 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001473/0.4509, allocations: 0.8408 MB / 409 MB, free: 31.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000467/0.4514, allocations: 225.2 kB / 409.2 MB, free: 31.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.4552, allocations: 2.593 MB / 411.8 MB, free: 29.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-05/0.4553, allocations: 16 kB / 411.8 MB, free: 29.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.4553, allocations: 4 kB / 411.8 MB, free: 29.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4553, allocations: 11.69 kB / 411.8 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008684/0.464, allocations: 5.622 MB / 417.4 MB, free: 23.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.464, allocations: 3.984 kB / 417.4 MB, free: 23.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.4652, allocations: 296 kB / 417.7 MB, free: 23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.4663, allocations: 480.6 kB / 418.2 MB, free: 22.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.783e-05/0.4664, allocations: 41 kB / 418.2 MB, free: 22.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005723/0.4721, allocations: 7 MB / 425.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4721, allocations: 8 kB / 425.2 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005295/0.4774, allocations: 4.066 MB / 429.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.4785, allocations: 486.2 kB / 429.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.4787, allocations: 36.77 kB / 429.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.4798, allocations: 111.9 kB / 429.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.4801, allocations: 121 kB / 430 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-05/0.4802, allocations: 49.45 kB / 430.1 MB, free: 10 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001673/0.4818, allocations: 1.328 MB / 431.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4818, allocations: 4 kB / 431.4 MB, free: 8.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001829/0.4837, allocations: 0.5854 MB / 432 MB, free: 8.062 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (128): * Single equations (assignments): 123 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005113/0.4888, allocations: 5.524 MB / 437.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003656/0.4925, allocations: 2.605 MB / 440.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.4925, allocations: 0 / 440.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002636/0.4951, allocations: 1.609 MB / 441.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.4977, allocations: 458.8 kB / 442.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/0.5335, allocations: 27.24 MB / 469.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/0.5355, allocations: 2.19 MB / 471.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00158/0.5371, allocations: 476.9 kB / 472.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/0.5386, allocations: 1.058 MB / 473.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5386, allocations: 0 / 473.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0789/0.6175, allocations: 49.46 MB / 0.5104 GB, free: 11.9 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/0.6178, allocations: 232.4 kB / 0.5106 GB, free: 11.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/3.542, allocations: 0 / 0.5106 GB, free: 11.66 MB / 414.1 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) Environment - environmentSimulation: 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