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.001626/0.001627, allocations: 110.5 kB / 16.62 MB, free: 6.809 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.002353/0.002353, allocations: 189.8 kB / 17.55 MB, free: 5.93 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.74/1.74, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001769/0.001769, allocations: 55.92 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1673, allocations: 46.63 MB / 326.1 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.0157/0.1831, allocations: 11.66 MB / 337.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.194, allocations: 3.914 MB / 341.7 MB, free: 5.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003425/0.1976, allocations: 51.75 kB / 341.8 MB, free: 5.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.2015, allocations: 0.7461 MB / 342.5 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005519/0.2071, allocations: 0.878 MB / 343.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.2094, allocations: 479.5 kB / 343.9 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008175/0.2176, allocations: 3.452 MB / 347.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005792/0.2234, allocations: 2.68 MB / 350 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/0.2278, allocations: 1.53 MB / 351.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00545/0.2333, allocations: 1.977 MB / 353.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002406/0.2358, allocations: 408 kB / 353.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.2392, allocations: 0.644 MB / 354.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00271/0.2419, allocations: 1.153 MB / 355.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006748/0.2487, allocations: 1.839 MB / 357.5 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.2599, allocations: 5.308 MB / 362.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.2599, allocations: 0 / 362.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.31e-06/0.2599, allocations: 4 kB / 362.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003076/0.2603, allocations: 4 kB / 362.8 MB, free: 15.85 MB / 318.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.01452/0.2748, allocations: 3.703 MB / 366.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.2749, allocations: 11.89 kB / 366.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.2775, allocations: 436.7 kB / 367 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005635/0.2832, allocations: 1.836 MB / 368.8 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.2834, allocations: 209.3 kB / 369 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006237/0.2841, allocations: 272 kB / 369.3 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00774/0.2918, allocations: 3.521 MB / 372.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.238e-05/0.2919, allocations: 7.906 kB / 372.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.2922, allocations: 108 kB / 372.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.2924, allocations: 121.2 kB / 373 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005521/0.2979, allocations: 2.968 MB / 376 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3289/0.6269, allocations: 11.09 MB / 387.1 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004548/0.6315, allocations: 2.285 MB / 389.4 MB, free: 44.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.6339, allocations: 1.19 MB / 390.6 MB, free: 44.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.6342, allocations: 207.1 kB / 390.8 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.6343, allocations: 56.8 kB / 390.8 MB, free: 44.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.497e-06/0.6343, allocations: 0 / 390.8 MB, free: 44.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01741/0.6517, allocations: 7.471 MB / 398.3 MB, free: 40.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.6518, allocations: 68.59 kB / 398.4 MB, free: 40.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/0.6548, allocations: 1.981 MB / 400.4 MB, free: 39.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.655, allocations: 52.52 kB / 400.4 MB, free: 39.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007452/0.6557, allocations: 1.309 MB / 401.7 MB, free: 37.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/0.6561, allocations: 0.4985 MB / 402.2 MB, free: 37.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004694/0.6566, allocations: 334.3 kB / 402.5 MB, free: 37.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.6567, allocations: 304.8 kB / 402.8 MB, free: 37.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.6578, allocations: 0.8816 MB / 403.7 MB, free: 36.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.6593, allocations: 1.364 MB / 405.1 MB, free: 35.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002572/0.6619, allocations: 2.39 MB / 407.5 MB, free: 33.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.6619, allocations: 11.41 kB / 407.5 MB, free: 33.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00451/0.6664, allocations: 2.97 MB / 410.5 MB, free: 30.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.6664, allocations: 12 kB / 410.5 MB, free: 30.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.6665, allocations: 16 kB / 410.5 MB, free: 30.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.6675, allocations: 469.2 kB / 410.9 MB, free: 29.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.6689, allocations: 428.5 kB / 411.4 MB, free: 29.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/0.6746, allocations: 6.116 MB / 417.5 MB, free: 22.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.6772, allocations: 115.9 kB / 417.6 MB, free: 22.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/0.6774, allocations: 75.98 kB / 417.7 MB, free: 22.69 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002303/0.6798, allocations: 0.8524 MB / 418.5 MB, free: 21.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008389/0.6806, allocations: 213.4 kB / 418.7 MB, free: 21.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.685, allocations: 2.583 MB / 421.3 MB, free: 19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.504e-05/0.6851, allocations: 19.94 kB / 421.3 MB, free: 18.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.6851, allocations: 4 kB / 421.3 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.6851, allocations: 9.828 kB / 421.3 MB, free: 18.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009086/0.6942, allocations: 5.638 MB / 427 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.6943, allocations: 4 kB / 427 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.6954, allocations: 288.1 kB / 427.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.6966, allocations: 498 kB / 427.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.6967, allocations: 43.34 kB / 427.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006201/0.7029, allocations: 7.683 MB / 435.5 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.703, allocations: 4 kB / 435.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005553/0.7085, allocations: 3.846 MB / 439.3 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.71, allocations: 482.3 kB / 439.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/0.7104, allocations: 39.98 kB / 439.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.7116, allocations: 95.89 kB / 439.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/0.712, allocations: 125 kB / 440.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.7121, allocations: 43.98 kB / 440.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002385/0.7145, allocations: 1.359 MB / 441.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7145, allocations: 0 / 441.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002781/0.7173, allocations: 0.5819 MB / 442 MB, free: 13.6 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007877/0.7181, allocations: 216.7 kB / 442.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.007625/0.7258, allocations: 3.352 MB / 445.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.7258, allocations: 1.938 kB / 445.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002992/0.7288, allocations: 1.622 MB / 447.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/0.7322, allocations: 0.4968 MB / 447.7 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.7454, allocations: 6.845 MB / 454.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.7477, allocations: 2.136 MB / 456.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002281/0.75, allocations: 472.9 kB / 457.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/0.7506, allocations: 140.8 kB / 457.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of SimCode: time 1.884e-06/0.7506, allocations: 0 / 457.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Templates: time 0.0719/0.8225, allocations: 30.79 MB / 488.1 MB, free: 15.37 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (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)