Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.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_Rectifier,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",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.002327/0.002326, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 92.92 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 5.561e-05/5.585e-05, allocations: 4 kB / 314.9 MB, free: 9.055 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3892, allocations: 47.56 MB / 362.4 MB, free: 45.75 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.5947, allocations: 125.2 MB / 487.7 MB, free: 8.867 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/0.5951, allocations: 83.95 kB / 487.8 MB, free: 8.785 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.51/1.105, allocations: 54.83 MB / 0.5299 GB, free: 101.4 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.105, allocations: 0 / 0.5299 GB, free: 101.4 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003387/1.106, allocations: 68.38 kB / 0.5299 GB, free: 101.4 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.009705/1.115, allocations: 2.576 MB / 0.5325 GB, free: 100.1 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.115, allocations: 9.406 kB / 0.5325 GB, free: 100.1 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/1.118, allocations: 428.5 kB / 0.5329 GB, free: 99.92 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006827/1.125, allocations: 1.749 MB / 0.5346 GB, free: 98.95 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/1.126, allocations: 78.31 kB / 0.5347 GB, free: 98.95 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/1.127, allocations: 144.3 kB / 0.5348 GB, free: 98.95 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007637/1.134, allocations: 2.23 MB / 0.537 GB, free: 98.07 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009246/1.144, allocations: 2.632 MB / 0.5395 GB, free: 96.82 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/1.144, allocations: 11.84 kB / 0.5396 GB, free: 96.81 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004704/1.144, allocations: 9.875 kB / 0.5396 GB, free: 96.81 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/1.144, allocations: 93.89 kB / 0.5397 GB, free: 96.8 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02777/1.172, allocations: 9.836 MB / 0.5493 GB, free: 91.35 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004851/1.177, allocations: 2.634 MB / 0.5518 GB, free: 89.55 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/1.18, allocations: 1.093 MB / 0.5529 GB, free: 88.56 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/1.18, allocations: 144.4 kB / 0.553 GB, free: 88.41 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/1.181, allocations: 55.88 kB / 0.5531 GB, free: 88.35 MB / 395.1 MB Notification: Performance of pre-optimization done (n=152): time 4.598e-06/1.181, allocations: 0 / 0.5531 GB, free: 88.35 MB / 395.1 MB Notification: Performance of matching and sorting (n=175): time 0.01877/1.199, allocations: 5.757 MB / 0.5587 GB, free: 83.34 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/1.199, allocations: 180.2 kB / 0.5589 GB, free: 83.12 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/1.202, allocations: 1.328 MB / 0.5602 GB, free: 81.92 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004073/1.203, allocations: 29.7 kB / 0.5602 GB, free: 81.88 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007618/1.204, allocations: 1.101 MB / 0.5613 GB, free: 80.77 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006777/1.204, allocations: 0.5696 MB / 0.5618 GB, free: 80.19 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/1.204, allocations: 3.938 kB / 0.5619 GB, free: 80.19 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/1.205, allocations: 394.7 kB / 0.5622 GB, free: 79.79 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/1.206, allocations: 0.8473 MB / 0.5631 GB, free: 78.95 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/1.209, allocations: 1.283 MB / 0.5643 GB, free: 77.48 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/1.211, allocations: 1.04 MB / 0.5653 GB, free: 76.45 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/1.211, allocations: 4 kB / 0.5653 GB, free: 76.45 MB / 395.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.007688/1.219, allocations: 2.938 MB / 0.5682 GB, free: 73.48 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001026/1.22, allocations: 4.708 MB / 0.5728 GB, free: 68.41 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.343e-05/1.22, allocations: 12 kB / 0.5728 GB, free: 68.4 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003885/1.224, allocations: 0.9491 MB / 0.5737 GB, free: 67.44 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/1.227, allocations: 371.4 kB / 0.5741 GB, free: 67.07 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/1.245, allocations: 11.54 MB / 0.5854 GB, free: 55.07 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/1.248, allocations: 75.8 kB / 0.5854 GB, free: 55 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004957/1.248, allocations: 76.06 kB / 0.5855 GB, free: 54.93 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.248, allocations: 6.656 kB / 0.5855 GB, free: 54.92 MB / 395.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00779/1.256, allocations: 2.807 MB / 0.5882 GB, free: 52.1 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.78e-05/1.256, allocations: 19.94 kB / 0.5883 GB, free: 52.08 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/1.259, allocations: 0.9305 MB / 0.5892 GB, free: 51.13 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/1.262, allocations: 371.4 kB / 0.5895 GB, free: 50.77 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/1.281, allocations: 11.62 MB / 0.6009 GB, free: 38.69 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.283, allocations: 68.03 kB / 0.6009 GB, free: 38.62 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/1.283, allocations: 75.98 kB / 0.601 GB, free: 38.55 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005458/1.284, allocations: 153.4 kB / 0.6012 GB, free: 38.39 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007105/1.291, allocations: 2.595 MB / 0.6037 GB, free: 35.77 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009506/1.292, allocations: 205.6 kB / 0.6039 GB, free: 35.57 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007168/1.299, allocations: 2.744 MB / 0.6066 GB, free: 32.8 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/1.299, allocations: 16 kB / 0.6066 GB, free: 32.78 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.299, allocations: 12 kB / 0.6066 GB, free: 32.77 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.093e-05/1.299, allocations: 11.95 kB / 0.6066 GB, free: 32.76 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/1.315, allocations: 5.392 MB / 0.6119 GB, free: 27.3 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/1.315, allocations: 4 kB / 0.6119 GB, free: 27.3 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/1.317, allocations: 227.7 kB / 0.6121 GB, free: 27.08 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004335/1.321, allocations: 1.008 MB / 0.6131 GB, free: 26.05 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003461/1.321, allocations: 15.98 kB / 0.6131 GB, free: 26.04 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/1.342, allocations: 13.2 MB / 0.626 GB, free: 12.26 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.607e-06/1.342, allocations: 4 kB / 0.626 GB, free: 12.26 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009961/1.352, allocations: 4.208 MB / 0.6301 GB, free: 7.949 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.354, allocations: 466.5 kB / 0.6305 GB, free: 7.473 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006889/1.355, allocations: 11.98 kB / 0.6306 GB, free: 7.461 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/1.357, allocations: 79.84 kB / 0.6306 GB, free: 7.383 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006182/1.358, allocations: 141.7 kB / 0.6308 GB, free: 7.242 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.358, allocations: 51.98 kB / 0.6308 GB, free: 7.191 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002289/1.36, allocations: 0.9955 MB / 0.6318 GB, free: 6.203 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.11e-07/1.36, allocations: 0 / 0.6318 GB, free: 6.203 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00575/1.366, allocations: 1.031 MB / 0.6328 GB, free: 5.172 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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: 5 * 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: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01056/1.377, allocations: 5.546 MB / 0.6382 GB, free: 15.57 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01396/1.391, allocations: 5.134 MB / 0.6432 GB, free: 10.3 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.391, allocations: 0 / 0.6432 GB, free: 10.3 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005755/1.396, allocations: 2.006 MB / 0.6452 GB, free: 8.25 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/1.401, allocations: 433.4 kB / 0.6456 GB, free: 7.828 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.419, allocations: 5.207 MB / 0.6507 GB, free: 2.531 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003364/1.422, allocations: 2.02 MB / 0.6527 GB, free: 484 kB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2925/1.715, allocations: 1.007 MB / 0.6536 GB, free: 100.8 MB / 411.1 MB Notification: Performance of SimCode: time 1.874e-06/1.715, allocations: 0 / 0.6536 GB, free: 100.8 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.199/5.914, allocations: 101.3 MB / 0.7525 GB, free: 37.72 MB / 411.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat does not exist to compare? outputFormat=mat