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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.0009292, allocations: 97.88 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 179.3 kB / 17.82 MB, free: 5.652 MB / 14.72 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.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004509, allocations: 8 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.009425/0.1153, allocations: 8.234 MB / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006474/0.1218, allocations: 3.166 MB / 339.8 MB, free: 8.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.123, allocations: 43.75 kB / 339.9 MB, free: 8.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.1245, allocations: 0.5791 MB / 340.4 MB, free: 7.926 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.1266, allocations: 0.7127 MB / 341.2 MB, free: 7.211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007646/0.1274, allocations: 259.6 kB / 341.4 MB, free: 6.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.1298, allocations: 1.911 MB / 343.3 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.1316, allocations: 1.615 MB / 344.9 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009884/0.1326, allocations: 0.9185 MB / 345.9 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.1339, allocations: 1.21 MB / 347.1 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.1342, allocations: 144 kB / 347.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.1347, allocations: 227.8 kB / 347.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006827/0.1354, allocations: 0.7283 MB / 348.2 MB, free: 168 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004763/0.1359, allocations: 0.5511 MB / 348.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.1388, allocations: 3.693 MB / 352.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1389, allocations: 0 / 352.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1389, allocations: 0 / 352.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.119e-05/0.1389, allocations: 3.938 kB / 352.4 MB, free: 11.9 MB / 302.1 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.005099/0.144, allocations: 2.789 MB / 355.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1441, allocations: 12.03 kB / 355.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004304/0.1445, allocations: 337.4 kB / 355.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007091/0.1452, allocations: 328.3 kB / 355.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.148, allocations: 1.585 MB / 357.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.1482, allocations: 188.6 kB / 357.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/0.1485, allocations: 235.9 kB / 357.9 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/0.1532, allocations: 3.106 MB / 361 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.1533, allocations: 11.89 kB / 361 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.1535, allocations: 95.95 kB / 361.1 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.1536, allocations: 104.6 kB / 361.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004501/0.1581, allocations: 2.707 MB / 363.9 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.172, allocations: 9.747 MB / 373.6 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.1746, allocations: 2.174 MB / 375.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/0.1749, allocations: 211.3 kB / 376 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.175, allocations: 47.56 kB / 376.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.046e-06/0.175, allocations: 3.938 kB / 376.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.1911/0.366, allocations: 6.914 MB / 383 MB, free: 49.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.3661, allocations: 70.25 kB / 383 MB, free: 49.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.3687, allocations: 1.688 MB / 384.7 MB, free: 48.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.3688, allocations: 46.77 kB / 384.8 MB, free: 48.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00079/0.3696, allocations: 1.157 MB / 385.9 MB, free: 47.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/0.3699, allocations: 454.4 kB / 386.4 MB, free: 47.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.37, allocations: 36.23 kB / 386.4 MB, free: 47.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3701, allocations: 364.5 kB / 386.8 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3715, allocations: 0.8085 MB / 387.6 MB, free: 46.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.373, allocations: 1.213 MB / 388.8 MB, free: 46.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.3746, allocations: 0.9772 MB / 389.8 MB, free: 45.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.3746, allocations: 4.25 kB / 389.8 MB, free: 45.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004694/0.3793, allocations: 2.67 MB / 392.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.3794, allocations: 7.906 kB / 392.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/0.3794, allocations: 12.97 kB / 392.5 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009273/0.3803, allocations: 389.8 kB / 392.8 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.3818, allocations: 380.3 kB / 393.2 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/0.387, allocations: 6.375 MB / 399.6 MB, free: 39.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.3885, allocations: 113 kB / 399.7 MB, free: 39.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/0.3887, allocations: 59.31 kB / 399.8 MB, free: 39.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 173 * 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: 3 * 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 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001475/0.3901, allocations: 0.8055 MB / 400.6 MB, free: 39.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.3905, allocations: 188 kB / 400.7 MB, free: 39.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/0.394, allocations: 2.38 MB / 403.1 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.394, allocations: 11.59 kB / 403.1 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.394, allocations: 14.55 kB / 403.1 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.394, allocations: 7.938 kB / 403.2 MB, free: 37.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006917/0.401, allocations: 5.071 MB / 408.2 MB, free: 33.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.401, allocations: 4 kB / 408.2 MB, free: 33.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/0.4019, allocations: 252 kB / 408.5 MB, free: 33.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008885/0.4028, allocations: 422.3 kB / 408.9 MB, free: 33.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-05/0.4029, allocations: 39.98 kB / 408.9 MB, free: 33.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005551/0.4084, allocations: 7.876 MB / 416.8 MB, free: 24.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4085, allocations: 8 kB / 416.8 MB, free: 24.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/0.413, allocations: 3.747 MB / 420.6 MB, free: 20.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008761/0.4139, allocations: 430.8 kB / 421 MB, free: 20.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.4141, allocations: 35.98 kB / 421 MB, free: 20.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008351/0.415, allocations: 95.91 kB / 421.1 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.4152, allocations: 124.7 kB / 421.2 MB, free: 20.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.4153, allocations: 39.98 kB / 421.3 MB, free: 20.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001414/0.4167, allocations: 1.147 MB / 422.4 MB, free: 18.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4167, allocations: 4 kB / 422.4 MB, free: 18.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001864/0.4186, allocations: 0.4999 MB / 422.9 MB, free: 18.4 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 1,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00475/0.4234, allocations: 5.196 MB / 428.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003391/0.4268, allocations: 2.472 MB / 430.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.4268, allocations: 6.297 kB / 430.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001993/0.4288, allocations: 1.611 MB / 432.2 MB, free: 8.875 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.4307, allocations: 445.9 kB / 432.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03352/0.4642, allocations: 23.35 MB / 456 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/0.4673, allocations: 2.044 MB / 458 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002003/0.4693, allocations: 451.2 kB / 458.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/0.4709, allocations: 0.9211 MB / 459.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4709, allocations: 0 / 459.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09525/0.5662, allocations: 44.11 MB / 0.4917 GB, free: 464 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/0.5665, allocations: 235.1 kB / 0.4919 GB, free: 212 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/3.505, allocations: 0 / 0.4919 GB, free: 212 kB / 382.1 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) Environment - environmentSimulation: 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