Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.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_LoadDump,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",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.0009709/0.000971, allocations: 178.5 kB / 8.7 MB, free: 384 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.499/1.499, allocations: 205.3 MB / 214.4 MB, free: 1.68 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.0008162/0.0008165, allocations: 90.22 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.076e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09356, allocations: 47.58 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4612, allocations: 115.2 MB / 478.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.4615, allocations: 88.81 kB / 478.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1686/0.6302, allocations: 61.71 MB / 0.5275 GB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6302, allocations: 0 / 0.5275 GB, free: 4.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003216/0.6306, allocations: 75.94 kB / 0.5276 GB, free: 4.086 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.00963/0.6402, allocations: 3.022 MB / 0.5305 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.6403, allocations: 8.031 kB / 0.5305 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.6429, allocations: 479.5 kB / 0.531 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2464/0.8893, allocations: 2.065 MB / 0.533 GB, free: 95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.8896, allocations: 289.5 kB / 0.5333 GB, free: 94.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005063/0.8901, allocations: 171.8 kB / 0.5334 GB, free: 94.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005368/0.8955, allocations: 2.669 MB / 0.536 GB, free: 94.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006197/0.9017, allocations: 3.186 MB / 0.5392 GB, free: 94.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.36e-05/0.9018, allocations: 3.531 kB / 0.5392 GB, free: 94.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.902, allocations: 9.594 kB / 0.5392 GB, free: 94.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.9022, allocations: 118.3 kB / 0.5393 GB, free: 94.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01983/0.922, allocations: 11.42 MB / 0.5504 GB, free: 91.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.9248, allocations: 2.722 MB / 0.5531 GB, free: 90.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.9259, allocations: 1.049 MB / 0.5541 GB, free: 90.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/0.9262, allocations: 144.2 kB / 0.5543 GB, free: 90.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/0.9275, allocations: 1.071 MB / 0.5553 GB, free: 90.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=156): time 3.717e-06/0.9275, allocations: 0 / 0.5553 GB, free: 90.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.01096/0.9385, allocations: 6.403 MB / 0.5616 GB, free: 89.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.9386, allocations: 310.6 kB / 0.5619 GB, free: 88.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.9407, allocations: 1.562 MB / 0.5634 GB, free: 88.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.9408, allocations: 34.58 kB / 0.5634 GB, free: 88.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008826/0.9417, allocations: 1.387 MB / 0.5648 GB, free: 87.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.9421, allocations: 0.5758 MB / 0.5653 GB, free: 86.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.9422, allocations: 2.953 kB / 0.5653 GB, free: 86.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.9423, allocations: 391.8 kB / 0.5657 GB, free: 86.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.9434, allocations: 0.9585 MB / 0.5666 GB, free: 85.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.9447, allocations: 1.488 MB / 0.5681 GB, free: 84.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.946, allocations: 1.175 MB / 0.5692 GB, free: 84.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.946, allocations: 3.875 kB / 0.5692 GB, free: 84.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004498/0.9505, allocations: 3.349 MB / 0.5725 GB, free: 83.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008048/0.9513, allocations: 5.341 MB / 0.5777 GB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.9514, allocations: 16.12 kB / 0.5777 GB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.9538, allocations: 1.163 MB / 0.5789 GB, free: 77.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.9552, allocations: 382.8 kB / 0.5792 GB, free: 77.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.9666, allocations: 14.01 MB / 0.5929 GB, free: 67.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.9688, allocations: 126.5 kB / 0.593 GB, free: 67.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.9691, allocations: 84.84 kB / 0.5931 GB, free: 67.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.679e-06/0.9691, allocations: 7.219 kB / 0.5931 GB, free: 67.2 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004216/0.9733, allocations: 3.095 MB / 0.5962 GB, free: 66.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.9733, allocations: 16.91 kB / 0.5962 GB, free: 66.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/0.9757, allocations: 1.162 MB / 0.5973 GB, free: 65.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.9769, allocations: 373.9 kB / 0.5977 GB, free: 65.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.9878, allocations: 14.01 MB / 0.6113 GB, free: 55.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.9899, allocations: 123.7 kB / 0.6115 GB, free: 55.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.99, allocations: 84.39 kB / 0.6115 GB, free: 55.49 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[1].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[3].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[2].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 205 * 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: 6 * 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: 3 {(2,100.0%) 16,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004652/0.9905, allocations: 187.5 kB / 0.6117 GB, free: 55.33 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004681/0.9952, allocations: 3.089 MB / 0.6147 GB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/0.9956, allocations: 219.6 kB / 0.6149 GB, free: 54.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/1, allocations: 3.237 MB / 0.6181 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1, allocations: 17.56 kB / 0.6181 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.001, allocations: 3.938 kB / 0.6181 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/1.001, allocations: 11.34 kB / 0.6181 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009043/1.01, allocations: 6.146 MB / 0.6241 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.01, allocations: 4 kB / 0.6241 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008455/1.01, allocations: 204.4 kB / 0.6243 GB, free: 47.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/1.014, allocations: 1.377 MB / 0.6257 GB, free: 46.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/1.014, allocations: 21.12 kB / 0.6257 GB, free: 46.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/1.027, allocations: 14.18 MB / 0.6396 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.027, allocations: 4 kB / 0.6396 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006254/1.033, allocations: 4.704 MB / 0.6442 GB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.034, allocations: 0.5071 MB / 0.6446 GB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/1.034, allocations: 27.89 kB / 0.6447 GB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.036, allocations: 107.9 kB / 0.6448 GB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004589/1.036, allocations: 226.4 kB / 0.645 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.036, allocations: 55.08 kB / 0.645 GB, free: 28.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001554/1.038, allocations: 1.175 MB / 0.6462 GB, free: 27.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.038, allocations: 0 / 0.6462 GB, free: 27.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004202/1.042, allocations: 1.105 MB / 0.6473 GB, free: 26.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (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) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 52,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006519/1.049, allocations: 6.131 MB / 0.6533 GB, free: 20.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008181/1.057, allocations: 5.951 MB / 0.6591 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.057, allocations: 0 / 0.6591 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003247/1.06, allocations: 2.334 MB / 0.6614 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/1.063, allocations: 406.9 kB / 0.6617 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.074, allocations: 5.75 MB / 0.6674 GB, free: 7.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/1.075, allocations: 2.327 MB / 0.6696 GB, free: 6.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002558/1.078, allocations: 0.8446 MB / 0.6705 GB, free: 5.484 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.079, allocations: 1.119 MB / 0.6715 GB, free: 4.453 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/1.079, allocations: 0 / 0.6715 GB, free: 4.453 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3165/1.396, allocations: 64.19 MB / 0.7342 GB, free: 90.68 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/1.396, allocations: 182.2 kB / 0.7344 GB, free: 90.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.01/5.406, allocations: 0 / 0.7344 GB, free: 90.48 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat