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_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_cpp_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_cpp_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.00147/0.00147, allocations: 178 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.378/2.378, 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.001131/0.00113, allocations: 81.3 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.49e-05, allocations: 4 kB / 314.9 MB, free: 9.039 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3441, allocations: 47.56 MB / 362.4 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.5337, allocations: 113.8 MB / 476.2 MB, free: 4.402 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.5341, allocations: 89.45 kB / 476.3 MB, free: 4.316 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6508/1.185, allocations: 84.91 MB / 0.5481 GB, free: 92.85 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.065e-06/1.185, allocations: 0 / 0.5481 GB, free: 92.85 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0005143/1.186, allocations: 73.88 kB / 0.5482 GB, free: 92.84 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01518/1.201, allocations: 2.798 MB / 0.5509 GB, free: 91.02 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/1.201, allocations: 7.531 kB / 0.5509 GB, free: 91.02 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/1.205, allocations: 444 kB / 0.5513 GB, free: 90.82 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/1.216, allocations: 1.951 MB / 0.5532 GB, free: 89.12 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/1.216, allocations: 88 kB / 0.5533 GB, free: 89.04 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/1.218, allocations: 160 kB / 0.5535 GB, free: 88.88 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01067/1.228, allocations: 2.537 MB / 0.5559 GB, free: 86.34 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/1.241, allocations: 3.024 MB / 0.5589 GB, free: 83.17 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/1.242, allocations: 11.84 kB / 0.5589 GB, free: 83.16 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006738/1.242, allocations: 4 kB / 0.5589 GB, free: 83.15 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/1.242, allocations: 113.3 kB / 0.559 GB, free: 83.04 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02896/1.271, allocations: 10.72 MB / 0.5695 GB, free: 72.09 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003828/1.275, allocations: 2.218 MB / 0.5717 GB, free: 69.71 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/1.277, allocations: 0.9347 MB / 0.5726 GB, free: 68.77 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/1.278, allocations: 227.4 kB / 0.5728 GB, free: 68.52 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.278, allocations: 55.81 kB / 0.5728 GB, free: 68.45 MB / 395.1 MB Notification: Performance of pre-optimization done (n=136): time 4.799e-06/1.278, allocations: 0 / 0.5728 GB, free: 68.45 MB / 395.1 MB Notification: Performance of matching and sorting (n=159): time 0.01797/1.296, allocations: 5.7 MB / 0.5784 GB, free: 62.71 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.296, allocations: 72.72 kB / 0.5785 GB, free: 62.63 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/1.299, allocations: 1.454 MB / 0.5799 GB, free: 61.18 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004087/1.3, allocations: 29.7 kB / 0.5799 GB, free: 61.14 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008879/1.301, allocations: 1.244 MB / 0.5811 GB, free: 59.89 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007341/1.302, allocations: 0.5157 MB / 0.5816 GB, free: 59.37 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/1.302, allocations: 0 / 0.5816 GB, free: 59.37 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/1.302, allocations: 386.8 kB / 0.582 GB, free: 58.98 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/1.304, allocations: 0.8434 MB / 0.5828 GB, free: 58.14 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/1.306, allocations: 1.295 MB / 0.5841 GB, free: 56.65 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/1.309, allocations: 1.06 MB / 0.5851 GB, free: 55.59 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/1.309, allocations: 4 kB / 0.5851 GB, free: 55.59 MB / 395.1 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.007269/1.316, allocations: 2.721 MB / 0.5878 GB, free: 52.86 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/1.316, allocations: 16.3 kB / 0.5878 GB, free: 52.84 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.765e-05/1.316, allocations: 24 kB / 0.5878 GB, free: 52.82 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/1.319, allocations: 0.6155 MB / 0.5884 GB, free: 52.2 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/1.322, allocations: 435.3 kB / 0.5888 GB, free: 51.77 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/1.333, allocations: 5.471 MB / 0.5942 GB, free: 46.19 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/1.336, allocations: 95.86 kB / 0.5943 GB, free: 46.09 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005843/1.336, allocations: 84.05 kB / 0.5944 GB, free: 46.01 MB / 395.1 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.0004729/1.337, allocations: 156.3 kB / 0.5945 GB, free: 45.85 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006862/1.344, allocations: 2.409 MB / 0.5969 GB, free: 43.43 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.345, allocations: 201.6 kB / 0.5971 GB, free: 43.23 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007196/1.352, allocations: 2.568 MB / 0.5996 GB, free: 40.64 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/1.352, allocations: 16 kB / 0.5996 GB, free: 40.62 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/1.352, allocations: 19.89 kB / 0.5996 GB, free: 40.61 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.954e-05/1.352, allocations: 7.969 kB / 0.5996 GB, free: 40.6 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/1.367, allocations: 5.279 MB / 0.6048 GB, free: 35.26 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.672e-05/1.368, allocations: 288 / 0.6048 GB, free: 35.26 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.37, allocations: 295.6 kB / 0.605 GB, free: 34.97 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003209/1.373, allocations: 0.6852 MB / 0.6057 GB, free: 34.28 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003649/1.374, allocations: 15.98 kB / 0.6057 GB, free: 34.27 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/1.387, allocations: 7.149 MB / 0.6127 GB, free: 26.89 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/1.387, allocations: 11.98 kB / 0.6127 GB, free: 26.88 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/1.403, allocations: 3.986 MB / 0.6166 GB, free: 22.79 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/1.405, allocations: 478.5 kB / 0.6171 GB, free: 22.3 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.406, allocations: 11.94 kB / 0.6171 GB, free: 22.29 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003529/1.41, allocations: 95.88 kB / 0.6172 GB, free: 22.2 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008625/1.411, allocations: 129.1 kB / 0.6173 GB, free: 22.07 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/1.411, allocations: 43.98 kB / 0.6173 GB, free: 22.02 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.003805/1.415, allocations: 1.097 MB / 0.6184 GB, free: 20.93 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.673e-06/1.415, allocations: 0 / 0.6184 GB, free: 20.93 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.005071/1.42, allocations: 0.5703 MB / 0.619 GB, free: 20.36 MB / 395.1 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.01516/1.435, allocations: 5.359 MB / 0.6242 GB, free: 14.94 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.009333/1.445, allocations: 2.557 MB / 0.6267 GB, free: 12.35 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/1.445, allocations: 0 / 0.6267 GB, free: 12.35 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005103/1.45, allocations: 1.609 MB / 0.6283 GB, free: 10.7 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/1.454, allocations: 353.7 kB / 0.6286 GB, free: 10.36 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/1.47, allocations: 5.225 MB / 0.6337 GB, free: 5.047 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002982/1.473, allocations: 2.174 MB / 0.6358 GB, free: 2.844 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002688/1.475, allocations: 1.054 MB / 0.6369 GB, free: 1.789 MB / 395.1 MB Notification: Performance of SimCode: time 1.954e-06/1.475, allocations: 0 / 0.6369 GB, free: 1.789 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.589/6.064, allocations: 72.98 MB / 0.7081 GB, free: 81.07 MB / 411.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat does not exist to compare? outputFormat=mat