Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 94.86 kB / 16.3 MB, free: 5.992 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.0009278/0.0009278, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.854/1.854, allocations: 205.4 MB / 223.4 MB, free: 5.777 MB / 174.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.0005086/0.0005087, allocations: 12 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3455, allocations: 47.58 MB / 327.7 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01464/0.3603, allocations: 9.533 MB / 337.2 MB, free: 9.984 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.3714, allocations: 3.871 MB / 341.1 MB, free: 6.105 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.3747, allocations: 51.75 kB / 341.2 MB, free: 6.055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.3777, allocations: 0.692 MB / 341.9 MB, free: 5.359 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004843/0.3826, allocations: 0.849 MB / 342.7 MB, free: 4.508 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.3845, allocations: 343.5 kB / 343 MB, free: 4.172 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007876/0.3924, allocations: 2.231 MB / 345.3 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.3959, allocations: 1.805 MB / 347.1 MB, free: 100 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.3988, allocations: 1.07 MB / 348.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.4015, allocations: 1.405 MB / 349.6 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005324/0.4021, allocations: 172 kB / 349.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.4033, allocations: 367.7 kB / 350.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009524/0.4043, allocations: 0.8295 MB / 350.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.4055, allocations: 0.6212 MB / 351.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006063/0.4116, allocations: 4.25 MB / 355.8 MB, free: 7.363 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4116, allocations: 0 / 355.8 MB, free: 7.363 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4116, allocations: 0 / 355.8 MB, free: 7.363 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002073/0.4118, allocations: 0 / 355.8 MB, free: 7.363 MB / 286.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.01042/0.4222, allocations: 3.173 MB / 359 MB, free: 4.125 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.4223, allocations: 8.031 kB / 359 MB, free: 4.117 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/0.425, allocations: 439.7 kB / 359.4 MB, free: 3.684 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005147/0.4302, allocations: 1.79 MB / 361.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.4304, allocations: 209.4 kB / 361.4 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006858/0.4311, allocations: 267.9 kB / 361.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007318/0.4385, allocations: 3.494 MB / 365.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.81e-05/0.4386, allocations: 7.906 kB / 365.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.4389, allocations: 112 kB / 365.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/0.4391, allocations: 125.2 kB / 365.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006426/0.4455, allocations: 2.976 MB / 368.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/0.4697, allocations: 11.14 MB / 379.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/0.4731, allocations: 2.299 MB / 381.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003613/0.4735, allocations: 207.4 kB / 382 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/0.4736, allocations: 51.83 kB / 382.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.468e-06/0.4736, allocations: 0 / 382.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01832/0.4919, allocations: 7.769 MB / 389.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.492, allocations: 72.7 kB / 389.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/0.4957, allocations: 1.944 MB / 391.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002841/0.496, allocations: 49.7 kB / 391.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.4972, allocations: 1.308 MB / 393.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006165/0.4978, allocations: 0.5083 MB / 393.7 MB, free: 420 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.4979, allocations: 36 kB / 393.7 MB, free: 384 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.4982, allocations: 377.9 kB / 394.1 MB, free: 0 / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.4998, allocations: 0.8979 MB / 395 MB, free: 15.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.5017, allocations: 1.375 MB / 396.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.5036, allocations: 1.096 MB / 397.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/0.5036, allocations: 4 kB / 397.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00653/0.5101, allocations: 2.966 MB / 400.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/0.5103, allocations: 12 kB / 400.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/0.5103, allocations: 12.38 kB / 400.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.5117, allocations: 450.1 kB / 400.9 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.5135, allocations: 447.3 kB / 401.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/0.5201, allocations: 5.481 MB / 406.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.5227, allocations: 135.8 kB / 407 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/0.523, allocations: 75.98 kB / 407 MB, free: 2.555 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 197 * Array equations: 2 * 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 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002375/0.5254, allocations: 0.8447 MB / 407.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008239/0.5262, allocations: 217.4 kB / 408.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006923/0.5332, allocations: 2.587 MB / 410.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/0.5333, allocations: 16 kB / 410.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/0.5333, allocations: 8 kB / 410.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/0.5334, allocations: 11.97 kB / 410.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.5495, allocations: 5.616 MB / 416.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.5496, allocations: 4 kB / 416.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.5511, allocations: 300 kB / 416.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.5528, allocations: 482.3 kB / 417.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.5531, allocations: 39.97 kB / 417.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.5638, allocations: 7 MB / 424.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.5639, allocations: 4 kB / 424.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009131/0.573, allocations: 4.061 MB / 428.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/0.5754, allocations: 482.4 kB / 428.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009051/0.5763, allocations: 39.97 kB / 428.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/0.5782, allocations: 111.8 kB / 428.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000458/0.5787, allocations: 125 kB / 428.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/0.5789, allocations: 51.97 kB / 429 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003137/0.582, allocations: 1.336 MB / 430.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.582, allocations: 0 / 430.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003266/0.5853, allocations: 0.5781 MB / 430.9 MB, free: 9.816 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 123 * Array equations: 2 * 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 {(3,100.0%) 16,(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.0006202/0.586, allocations: 194.2 kB / 431.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005457/0.5914, allocations: 2.6 MB / 433.7 MB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/0.5915, allocations: 4 kB / 433.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003486/0.595, allocations: 1.6 MB / 435.3 MB, free: 5.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/0.5989, allocations: 454.5 kB / 435.7 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.6142, allocations: 6.658 MB / 442.4 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/0.6167, allocations: 2.194 MB / 444.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002146/0.6189, allocations: 469 kB / 445 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.6193, allocations: 139.4 kB / 445.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.432e-06/0.6193, allocations: 0 / 445.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of Templates: time 0.2776/0.8969, allocations: 28.39 MB / 473.6 MB, free: 102.4 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) Environment - environmentSimulation: