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_Generator.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_Generator,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",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.002382/0.002381, allocations: 178.4 kB / 8.362 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.407/2.407, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001099/0.001099, allocations: 86.56 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.472e-05, allocations: 4 kB / 314.9 MB, free: 9.039 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3353, allocations: 47.56 MB / 362.4 MB, free: 45.74 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.5209, allocations: 112.8 MB / 475.3 MB, free: 5.293 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.5213, allocations: 85.38 kB / 475.4 MB, free: 5.211 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6069/1.128, allocations: 81.94 MB / 0.5442 GB, free: 94.69 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.455e-06/1.128, allocations: 0 / 0.5442 GB, free: 94.69 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.00026/1.129, allocations: 82.78 kB / 0.5443 GB, free: 94.67 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.008939/1.138, allocations: 2.611 MB / 0.5469 GB, free: 92.96 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.138, allocations: 13.44 kB / 0.5469 GB, free: 92.96 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/1.14, allocations: 429 kB / 0.5473 GB, free: 92.76 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00581/1.146, allocations: 1.821 MB / 0.5491 GB, free: 91.54 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/1.146, allocations: 86.14 kB / 0.5492 GB, free: 91.54 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009978/1.147, allocations: 153.8 kB / 0.5493 GB, free: 91.53 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01025/1.158, allocations: 2.312 MB / 0.5516 GB, free: 90.41 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/1.17, allocations: 2.776 MB / 0.5543 GB, free: 87.6 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/1.17, allocations: 11.84 kB / 0.5543 GB, free: 87.59 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005886/1.171, allocations: 4 kB / 0.5543 GB, free: 87.59 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/1.171, allocations: 112.9 kB / 0.5544 GB, free: 87.47 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03613/1.207, allocations: 9.971 MB / 0.5641 GB, free: 77.27 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/1.211, allocations: 1.734 MB / 0.5658 GB, free: 75.42 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/1.214, allocations: 0.8357 MB / 0.5666 GB, free: 74.59 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/1.214, allocations: 211.5 kB / 0.5668 GB, free: 74.34 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/1.214, allocations: 51.81 kB / 0.5669 GB, free: 74.28 MB / 395.1 MB Notification: Performance of pre-optimization done (n=120): time 5.601e-06/1.214, allocations: 4 kB / 0.5669 GB, free: 74.28 MB / 395.1 MB Notification: Performance of matching and sorting (n=145): time 0.02223/1.237, allocations: 5.433 MB / 0.5722 GB, free: 68.82 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.237, allocations: 64.72 kB / 0.5723 GB, free: 68.74 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/1.241, allocations: 1.371 MB / 0.5736 GB, free: 67.37 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004652/1.241, allocations: 25.7 kB / 0.5736 GB, free: 67.34 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/1.242, allocations: 1.197 MB / 0.5748 GB, free: 66.12 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007667/1.243, allocations: 484.8 kB / 0.5753 GB, free: 65.64 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/1.243, allocations: 0 / 0.5753 GB, free: 65.64 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/1.243, allocations: 382.7 kB / 0.5756 GB, free: 65.26 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/1.246, allocations: 0.7809 MB / 0.5764 GB, free: 64.48 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/1.248, allocations: 1.248 MB / 0.5776 GB, free: 63.02 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003112/1.252, allocations: 0.9821 MB / 0.5786 GB, free: 62.04 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.203e-05/1.252, allocations: 4 kB / 0.5786 GB, free: 62.03 MB / 395.1 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.008779/1.26, allocations: 2.556 MB / 0.5811 GB, free: 59.46 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/1.26, allocations: 12 kB / 0.5811 GB, free: 59.45 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.158e-05/1.261, allocations: 16 kB / 0.5811 GB, free: 59.43 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003085/1.264, allocations: 0.5797 MB / 0.5817 GB, free: 58.85 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/1.267, allocations: 411.4 kB / 0.582 GB, free: 58.45 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/1.281, allocations: 5.2 MB / 0.5871 GB, free: 53.13 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/1.285, allocations: 107.8 kB / 0.5872 GB, free: 53.03 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004088/1.285, allocations: 76.05 kB / 0.5873 GB, free: 52.95 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 185 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005526/1.286, allocations: 160.3 kB / 0.5875 GB, free: 52.79 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007886/1.294, allocations: 2.229 MB / 0.5896 GB, free: 50.55 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009622/1.295, allocations: 185.8 kB / 0.5898 GB, free: 50.37 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008403/1.303, allocations: 2.38 MB / 0.5921 GB, free: 47.96 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/1.303, allocations: 19.95 kB / 0.5922 GB, free: 47.95 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.303, allocations: 4 kB / 0.5922 GB, free: 47.94 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/1.303, allocations: 7.969 kB / 0.5922 GB, free: 47.93 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/1.321, allocations: 4.984 MB / 0.597 GB, free: 42.88 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/1.321, allocations: 4 kB / 0.597 GB, free: 42.87 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/1.324, allocations: 260 kB / 0.5973 GB, free: 42.62 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003736/1.327, allocations: 0.63 MB / 0.5979 GB, free: 41.98 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002623/1.328, allocations: 15.92 kB / 0.5979 GB, free: 41.96 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/1.344, allocations: 6.871 MB / 0.6046 GB, free: 34.87 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.415e-05/1.344, allocations: 11.89 kB / 0.6046 GB, free: 34.86 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.355, allocations: 3.791 MB / 0.6083 GB, free: 30.92 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/1.357, allocations: 450.7 kB / 0.6088 GB, free: 30.46 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005916/1.357, allocations: 8 kB / 0.6088 GB, free: 30.45 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002821/1.36, allocations: 99.86 kB / 0.6089 GB, free: 30.35 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005601/1.361, allocations: 125 kB / 0.609 GB, free: 30.23 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/1.361, allocations: 40 kB / 0.609 GB, free: 30.19 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002951/1.364, allocations: 1.036 MB / 0.61 GB, free: 29.16 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.082e-06/1.364, allocations: 0 / 0.61 GB, free: 29.16 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004284/1.368, allocations: 0.539 MB / 0.6106 GB, free: 28.62 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * 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%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01166/1.38, allocations: 5.474 MB / 0.6159 GB, free: 23.04 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005485/1.386, allocations: 2.385 MB / 0.6182 GB, free: 20.61 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.386, allocations: 0 / 0.6182 GB, free: 20.61 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003726/1.389, allocations: 1.532 MB / 0.6197 GB, free: 19.05 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/1.392, allocations: 305.7 kB / 0.62 GB, free: 18.75 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.405, allocations: 4.729 MB / 0.6246 GB, free: 13.91 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/1.408, allocations: 2.053 MB / 0.6266 GB, free: 11.83 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002131/1.41, allocations: 1.011 MB / 0.6276 GB, free: 10.82 MB / 395.1 MB Notification: Performance of SimCode: time 1.242e-06/1.41, allocations: 4 kB / 0.6276 GB, free: 10.81 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.415/5.825, allocations: 67.83 MB / 0.6939 GB, free: 93.49 MB / 411.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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_Generator_res.mat does not exist to compare? outputFormat=mat