Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_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.001077/0.001077, allocations: 177.7 kB / 8.698 MB, free: 388 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.61/1.61, allocations: 205.3 MB / 214.4 MB, free: 1.66 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.0008452/0.0008454, allocations: 87.61 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.269e-05/1.271e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.08846, allocations: 47.58 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4569, allocations: 106.8 MB / 470 MB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.4571, allocations: 87.42 kB / 470.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1289/0.586, allocations: 49.53 MB / 0.5074 GB, free: 8.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5861, allocations: 0 / 0.5074 GB, free: 8.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001829/0.5863, allocations: 71.92 kB / 0.5075 GB, free: 8.711 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.005989/0.5923, allocations: 2.495 MB / 0.5099 GB, free: 6.156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5923, allocations: 12.03 kB / 0.5099 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.5934, allocations: 332.3 kB / 0.5102 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/0.5969, allocations: 1.772 MB / 0.512 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.192e-05/0.597, allocations: 79.95 kB / 0.512 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.5973, allocations: 139.9 kB / 0.5122 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003887/0.6012, allocations: 2.317 MB / 0.5144 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004334/0.6056, allocations: 2.697 MB / 0.5171 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-05/0.6056, allocations: 7.906 kB / 0.5171 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.6058, allocations: 4 kB / 0.5171 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.855e-05/0.6059, allocations: 100.6 kB / 0.5172 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/0.6208, allocations: 9.319 MB / 0.5263 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.6234, allocations: 2.128 MB / 0.5284 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.6247, allocations: 0.8991 MB / 0.5292 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/0.625, allocations: 215.5 kB / 0.5294 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.6251, allocations: 47.88 kB / 0.5295 GB, free: 1.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 3.115e-06/0.6251, allocations: 0 / 0.5295 GB, free: 1.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=143): time 0.2465/0.8716, allocations: 5.279 MB / 0.5346 GB, free: 102.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.8717, allocations: 66.66 kB / 0.5347 GB, free: 102.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003931/0.8756, allocations: 1.277 MB / 0.536 GB, free: 102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002722/0.8759, allocations: 25.7 kB / 0.536 GB, free: 102 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.8771, allocations: 1.135 MB / 0.5371 GB, free: 101.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006136/0.8777, allocations: 479.3 kB / 0.5375 GB, free: 101.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.8779, allocations: 0 / 0.5375 GB, free: 101.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.878, allocations: 373.8 kB / 0.5379 GB, free: 101.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.8795, allocations: 0.7725 MB / 0.5387 GB, free: 101.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.8812, allocations: 1.14 MB / 0.5398 GB, free: 100.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.8832, allocations: 0.9468 MB / 0.5407 GB, free: 100.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.8832, allocations: 2.625 kB / 0.5407 GB, free: 100.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005239/0.8884, allocations: 2.572 MB / 0.5432 GB, free: 100.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.8885, allocations: 9.531 kB / 0.5432 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/0.8886, allocations: 11.62 kB / 0.5432 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.8902, allocations: 0.5771 MB / 0.5438 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.8918, allocations: 369.8 kB / 0.5441 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006972/0.8987, allocations: 6.064 MB / 0.5501 GB, free: 97.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.9004, allocations: 84.64 kB / 0.5501 GB, free: 97.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.9006, allocations: 66.28 kB / 0.5502 GB, free: 97.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 171 * Array equations: 0 * 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 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003085/0.9009, allocations: 148 kB / 0.5504 GB, free: 97.83 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003122/0.904, allocations: 2.249 MB / 0.5525 GB, free: 97.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.9043, allocations: 173.7 kB / 0.5527 GB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/0.9078, allocations: 2.396 MB / 0.5551 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.9078, allocations: 13.78 kB / 0.5551 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.9078, allocations: 10.72 kB / 0.5551 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.9079, allocations: 6.844 kB / 0.5551 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007401/0.9153, allocations: 4.871 MB / 0.5598 GB, free: 96.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.9153, allocations: 3.812 kB / 0.5598 GB, free: 96.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/0.9162, allocations: 236.7 kB / 0.5601 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.9177, allocations: 0.6348 MB / 0.5607 GB, free: 96.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/0.9178, allocations: 14.59 kB / 0.5607 GB, free: 96.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006906/0.9247, allocations: 7.738 MB / 0.5683 GB, free: 91.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.9248, allocations: 5.594 kB / 0.5683 GB, free: 91.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/0.9298, allocations: 3.721 MB / 0.5719 GB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.931, allocations: 433.6 kB / 0.5723 GB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.9313, allocations: 13.53 kB / 0.5723 GB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008989/0.9322, allocations: 76.36 kB / 0.5724 GB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/0.9325, allocations: 130.1 kB / 0.5725 GB, free: 89.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/0.9326, allocations: 43.56 kB / 0.5726 GB, free: 89.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00133/0.9339, allocations: 0.9583 MB / 0.5735 GB, free: 88.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9339, allocations: 0 / 0.5735 GB, free: 88.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00224/0.9362, allocations: 0.4918 MB / 0.574 GB, free: 88.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 109 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005506/0.9417, allocations: 5.129 MB / 0.579 GB, free: 85.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.9452, allocations: 2.392 MB / 0.5813 GB, free: 84.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.9452, allocations: 0 / 0.5813 GB, free: 84.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.9473, allocations: 1.582 MB / 0.5829 GB, free: 84.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.9493, allocations: 348.3 kB / 0.5832 GB, free: 84.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007649/0.9569, allocations: 4.682 MB / 0.5878 GB, free: 82.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.9584, allocations: 2.06 MB / 0.5898 GB, free: 81.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001237/0.9596, allocations: 426.5 kB / 0.5902 GB, free: 81.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/0.9606, allocations: 0.9226 MB / 0.5911 GB, free: 80.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/0.9606, allocations: 0 / 0.5911 GB, free: 80.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/1.077, allocations: 42.75 MB / 0.6328 GB, free: 48.65 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/1.077, allocations: 167.2 kB / 0.633 GB, free: 48.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/4.222, allocations: 0 / 0.633 GB, free: 48.46 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat does not exist to compare? outputFormat=mat