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.0009976/0.0009976, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000876/0.0008761, allocations: 86.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.765e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08217/0.08223, allocations: 47.56 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4249, allocations: 115.6 MB / 485.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4251, allocations: 85.64 kB / 485.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3824/0.8075, allocations: 62.47 MB / 0.5354 GB, free: 94.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.8076, allocations: 1.5 kB / 0.5354 GB, free: 94.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000215/0.8078, allocations: 81.39 kB / 0.5355 GB, free: 94.82 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.006891/0.8147, allocations: 3.024 MB / 0.5385 GB, free: 93.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.8148, allocations: 9.031 kB / 0.5385 GB, free: 93.72 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009076/0.8157, allocations: 446.3 kB / 0.5389 GB, free: 93.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.8174, allocations: 485.5 kB / 0.5394 GB, free: 93.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/0.8224, allocations: 2.068 MB / 0.5414 GB, free: 92.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.8227, allocations: 382.1 kB / 0.5417 GB, free: 92.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.8232, allocations: 286.2 kB / 0.542 GB, free: 92.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007107/0.8303, allocations: 3.591 MB / 0.5455 GB, free: 92.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-05/0.8304, allocations: 7.547 kB / 0.5455 GB, free: 92.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003202/0.8307, allocations: 125.8 kB / 0.5456 GB, free: 92.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.8309, allocations: 117.7 kB / 0.5458 GB, free: 92.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004863/0.8357, allocations: 2.827 MB / 0.5485 GB, free: 92.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.8536, allocations: 11.98 MB / 0.5602 GB, free: 89.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.8561, allocations: 2.776 MB / 0.5629 GB, free: 87.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.8573, allocations: 1.098 MB / 0.564 GB, free: 86.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.8576, allocations: 140.7 kB / 0.5641 GB, free: 86.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.859, allocations: 1.137 MB / 0.5652 GB, free: 86.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=156): time 3.206e-06/0.859, allocations: 2.938 kB / 0.5652 GB, free: 86.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.01663/0.8757, allocations: 8.002 MB / 0.5731 GB, free: 83.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/0.8758, allocations: 310.4 kB / 0.5734 GB, free: 83.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/0.8786, allocations: 1.836 MB / 0.5752 GB, free: 82.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003192/0.879, allocations: 73.2 kB / 0.5752 GB, free: 82.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.8802, allocations: 1.388 MB / 0.5766 GB, free: 81.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005045/0.8807, allocations: 0.5995 MB / 0.5772 GB, free: 80.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.8808, allocations: 39.41 kB / 0.5772 GB, free: 80.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.881, allocations: 390.3 kB / 0.5776 GB, free: 80.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.8823, allocations: 1 MB / 0.5785 GB, free: 80.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.8839, allocations: 1.536 MB / 0.58 GB, free: 79.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.8854, allocations: 1.227 MB / 0.5812 GB, free: 78.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.8855, allocations: 3.688 kB / 0.5813 GB, free: 78.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005468/0.8909, allocations: 3.573 MB / 0.5847 GB, free: 77.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001006/0.8919, allocations: 5.413 MB / 0.59 GB, free: 71.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.892, allocations: 12.16 kB / 0.59 GB, free: 71.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.8948, allocations: 1.201 MB / 0.5912 GB, free: 71.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.8961, allocations: 380 kB / 0.5916 GB, free: 71.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.9084, allocations: 14.57 MB / 0.6058 GB, free: 60.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.9112, allocations: 175 kB / 0.606 GB, free: 60.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.9115, allocations: 80 kB / 0.606 GB, free: 60.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.9115, allocations: 3.906 kB / 0.6061 GB, free: 60.59 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004619/0.9161, allocations: 3.35 MB / 0.6093 GB, free: 59.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.9161, allocations: 12.75 kB / 0.6093 GB, free: 59.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.9187, allocations: 1.184 MB / 0.6105 GB, free: 59.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.92, allocations: 375.5 kB / 0.6108 GB, free: 58.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.9325, allocations: 14.52 MB / 0.625 GB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.9354, allocations: 169.7 kB / 0.6252 GB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004669/0.9359, allocations: 83.8 kB / 0.6253 GB, free: 45.12 MB / 410.7 MB 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 {(4,100.0%) 14,(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.0008109/0.9367, allocations: 239.5 kB / 0.6255 GB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007877/0.9375, allocations: 233.2 kB / 0.6257 GB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006174/0.9437, allocations: 3.427 MB / 0.6291 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.9437, allocations: 20 kB / 0.6291 GB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.9437, allocations: 2.812 kB / 0.6291 GB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.9438, allocations: 10.27 kB / 0.6291 GB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.9564, allocations: 6.698 MB / 0.6356 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.9565, allocations: 0 / 0.6356 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/0.9573, allocations: 207.5 kB / 0.6358 GB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/0.9606, allocations: 1.402 MB / 0.6372 GB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.9608, allocations: 50.83 kB / 0.6373 GB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/0.9755, allocations: 14.65 MB / 0.6516 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9755, allocations: 4 kB / 0.6516 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007012/0.9826, allocations: 4.888 MB / 0.6563 GB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/0.9842, allocations: 0.5368 MB / 0.6569 GB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007491/0.9849, allocations: 54.52 kB / 0.6569 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/0.9867, allocations: 134.3 kB / 0.657 GB, free: 16.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004619/0.9872, allocations: 232.4 kB / 0.6573 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.9873, allocations: 51.89 kB / 0.6573 GB, free: 15.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0024/0.9897, allocations: 1.409 MB / 0.6587 GB, free: 14.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9898, allocations: 0 / 0.6587 GB, free: 14.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005037/0.9948, allocations: 1.261 MB / 0.6599 GB, free: 13.43 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.007222/1.002, allocations: 6.323 MB / 0.6661 GB, free: 7.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008865/1.011, allocations: 6.264 MB / 0.6722 GB, free: 1.793 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.011, allocations: 11.34 kB / 0.6722 GB, free: 1.785 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00355/1.014, allocations: 2.425 MB / 0.6746 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.018, allocations: 0.5135 MB / 0.6751 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.033, allocations: 5.96 MB / 0.6809 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002894/1.036, allocations: 2.333 MB / 0.6832 GB, free: 6.531 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003439/1.04, allocations: 0.8978 MB / 0.6841 GB, free: 5.648 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/1.041, allocations: 1.116 MB / 0.6852 GB, free: 4.531 MB / 426.7 MB Notification: Performance of SimCode: time 1.724e-06/1.041, allocations: 0 / 0.6852 GB, free: 4.531 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3405/1.382, allocations: 74.25 MB / 0.7577 GB, free: 74.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/1.382, allocations: 218.5 kB / 0.7579 GB, free: 74.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.226/5.608, allocations: 7.906 kB / 0.7579 GB, free: 74.59 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