Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_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.001332/0.001332, allocations: 171.9 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.458/1.458, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0007758/0.0007756, allocations: 78.78 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.927e-05, allocations: 3.938 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.08882, allocations: 47.58 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4317, allocations: 107.2 MB / 477.3 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.432, allocations: 85.02 kB / 477.4 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1376/0.5696, allocations: 50.18 MB / 0.5152 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5697, allocations: 0 / 0.5152 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003155/0.57, allocations: 63.94 kB / 0.5153 GB, free: 0.8789 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.007458/0.5775, allocations: 2.506 MB / 0.5177 GB, free: 14.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5775, allocations: 8.031 kB / 0.5177 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001358/0.5789, allocations: 337.4 kB / 0.5181 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.5807, allocations: 332.3 kB / 0.5184 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005146/0.5858, allocations: 1.784 MB / 0.5201 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.5861, allocations: 172.6 kB / 0.5203 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009441/0.587, allocations: 235.9 kB / 0.5205 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00923/0.5963, allocations: 3.033 MB / 0.5235 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.5965, allocations: 11.91 kB / 0.5235 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005849/0.5971, allocations: 100 kB / 0.5236 GB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.5972, allocations: 100.6 kB / 0.5237 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005613/0.6028, allocations: 2.462 MB / 0.5261 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2514/0.8542, allocations: 9.759 MB / 0.5356 GB, free: 95.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.8573, allocations: 2.16 MB / 0.5377 GB, free: 94.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.859, allocations: 0.9296 MB / 0.5386 GB, free: 94.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/0.8594, allocations: 217.7 kB / 0.5388 GB, free: 94.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.8594, allocations: 50.02 kB / 0.5389 GB, free: 94.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 3.597e-06/0.8594, allocations: 0 / 0.5389 GB, free: 94.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=141): time 0.01707/0.8765, allocations: 6.518 MB / 0.5452 GB, free: 93.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.8767, allocations: 69.59 kB / 0.5453 GB, free: 93.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/0.8797, allocations: 1.512 MB / 0.5468 GB, free: 93.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.8799, allocations: 49.89 kB / 0.5468 GB, free: 93.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/0.8807, allocations: 1.137 MB / 0.5479 GB, free: 93.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/0.8811, allocations: 485.4 kB / 0.5484 GB, free: 92.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.8812, allocations: 32.72 kB / 0.5484 GB, free: 92.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.8813, allocations: 369.1 kB / 0.5488 GB, free: 92.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.8824, allocations: 0.8006 MB / 0.5496 GB, free: 92.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.8838, allocations: 1.176 MB / 0.5507 GB, free: 92.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.8851, allocations: 0.9754 MB / 0.5517 GB, free: 92.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.8852, allocations: 3.312 kB / 0.5517 GB, free: 92.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003995/0.8892, allocations: 2.733 MB / 0.5543 GB, free: 91.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.8892, allocations: 7.562 kB / 0.5543 GB, free: 91.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.8892, allocations: 14.69 kB / 0.5544 GB, free: 91.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.8905, allocations: 0.5835 MB / 0.5549 GB, free: 91.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.8918, allocations: 369.2 kB / 0.5553 GB, free: 91.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005951/0.8977, allocations: 6.318 MB / 0.5615 GB, free: 89.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.8994, allocations: 119.2 kB / 0.5616 GB, free: 88.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.8995, allocations: 58.94 kB / 0.5616 GB, free: 88.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * 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: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002971/0.8998, allocations: 207.7 kB / 0.5618 GB, free: 88.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/0.9001, allocations: 189.8 kB / 0.562 GB, free: 88.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.9038, allocations: 2.513 MB / 0.5645 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.9039, allocations: 15.25 kB / 0.5645 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.9039, allocations: 15.56 kB / 0.5645 GB, free: 87.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.9039, allocations: 7.547 kB / 0.5645 GB, free: 87.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007324/0.9112, allocations: 5.262 MB / 0.5696 GB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.9113, allocations: 10.03 kB / 0.5696 GB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/0.9122, allocations: 231.9 kB / 0.5699 GB, free: 85.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/0.9136, allocations: 0.6505 MB / 0.5705 GB, free: 85.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-05/0.9137, allocations: 33.83 kB / 0.5705 GB, free: 85.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007081/0.9208, allocations: 8.042 MB / 0.5784 GB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.9208, allocations: 17.06 kB / 0.5784 GB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005128/0.926, allocations: 3.828 MB / 0.5821 GB, free: 78.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.9273, allocations: 456.2 kB / 0.5826 GB, free: 78.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/0.9276, allocations: 35.41 kB / 0.5826 GB, free: 77.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.9287, allocations: 96.91 kB / 0.5827 GB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/0.9291, allocations: 132.2 kB / 0.5828 GB, free: 77.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.9292, allocations: 39.62 kB / 0.5829 GB, free: 77.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001858/0.931, allocations: 1.156 MB / 0.584 GB, free: 77.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.9311, allocations: 0 / 0.584 GB, free: 77.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002137/0.9332, allocations: 0.5727 MB / 0.5846 GB, free: 77.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005785/0.939, allocations: 5.252 MB / 0.5897 GB, free: 74.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.9425, allocations: 2.473 MB / 0.5921 GB, free: 73.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.9426, allocations: 3.469 kB / 0.5921 GB, free: 73.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.9447, allocations: 1.626 MB / 0.5937 GB, free: 72.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.9467, allocations: 441.7 kB / 0.5941 GB, free: 72.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006902/0.9537, allocations: 4.834 MB / 0.5988 GB, free: 70.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.9551, allocations: 2.074 MB / 0.6009 GB, free: 69.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001306/0.9564, allocations: 428.6 kB / 0.6013 GB, free: 69.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009703/0.9574, allocations: 0.9206 MB / 0.6022 GB, free: 68.52 MB / 410.7 MB Notification: Performance of SimCode: time 9.81e-07/0.9574, allocations: 0 / 0.6022 GB, free: 68.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07052/1.028, allocations: 50.05 MB / 0.651 GB, free: 25.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/1.028, allocations: 201.4 kB / 0.6512 GB, free: 25.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.395/4.423, allocations: 0 / 0.6512 GB, free: 25.58 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat does not exist to compare? outputFormat=mat