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.0007999/0.0008002, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0009185/0.0009186, allocations: 182 kB / 17.56 MB, free: 6.203 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.772/1.772, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005677/0.0005677, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1576, allocations: 47.58 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.0138/0.1715, allocations: 11.08 MB / 339.4 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.1826, allocations: 3.898 MB / 343.3 MB, free: 4.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003643/0.1863, allocations: 51.75 kB / 343.4 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003917/0.1902, allocations: 0.7422 MB / 344.1 MB, free: 3.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006293/0.1966, allocations: 0.8858 MB / 345 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.1995, allocations: 467.5 kB / 345.4 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008022/0.2075, allocations: 3.881 MB / 349.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003655/0.2112, allocations: 2.221 MB / 351.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.2139, allocations: 1.163 MB / 352.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.2165, allocations: 1.641 MB / 354.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004477/0.2169, allocations: 172 kB / 354.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.2184, allocations: 443.5 kB / 354.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.2195, allocations: 0.8642 MB / 355.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.2215, allocations: 1.556 MB / 357.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005845/0.2274, allocations: 5.029 MB / 362.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.2274, allocations: 0 / 362.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.09e-06/0.2275, allocations: 0 / 362.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001589/0.2276, allocations: 0 / 362.4 MB, free: 1.48 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.007487/0.2351, allocations: 3.158 MB / 365.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.2352, allocations: 8.031 kB / 365.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.2367, allocations: 436.7 kB / 366 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.2401, allocations: 1.833 MB / 367.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.2403, allocations: 213.3 kB / 368 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.2407, allocations: 275.9 kB / 368.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006581/0.2473, allocations: 3.529 MB / 371.8 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.859e-05/0.2474, allocations: 7.938 kB / 371.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.2476, allocations: 108 kB / 371.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.2478, allocations: 125.2 kB / 372.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005482/0.2533, allocations: 2.995 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2962/0.5494, allocations: 11.16 MB / 386.2 MB, free: 45.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/0.5536, allocations: 2.31 MB / 388.5 MB, free: 44.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/0.5561, allocations: 1.199 MB / 389.7 MB, free: 43.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/0.5565, allocations: 208.8 kB / 389.9 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.5566, allocations: 45.27 kB / 390 MB, free: 43.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.639e-06/0.5566, allocations: 2.812 kB / 390 MB, free: 43.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01979/0.5764, allocations: 7.644 MB / 397.6 MB, free: 40.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.5765, allocations: 64.44 kB / 397.7 MB, free: 40.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/0.5798, allocations: 1.971 MB / 399.7 MB, free: 39.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.5799, allocations: 53.52 kB / 399.7 MB, free: 39.1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.5811, allocations: 1.321 MB / 401 MB, free: 37.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.5815, allocations: 0.5033 MB / 401.5 MB, free: 37.51 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.5818, allocations: 145.5 kB / 401.7 MB, free: 37.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.5819, allocations: 309.1 kB / 402 MB, free: 37.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.5832, allocations: 0.8976 MB / 402.9 MB, free: 36.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.5848, allocations: 1.392 MB / 404.3 MB, free: 35.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/0.5877, allocations: 2.407 MB / 406.7 MB, free: 33.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.5878, allocations: 7.25 kB / 406.7 MB, free: 33.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004891/0.5927, allocations: 3.01 MB / 409.7 MB, free: 31.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.5927, allocations: 12.38 kB / 409.7 MB, free: 31.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.5927, allocations: 19.94 kB / 409.7 MB, free: 31.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.5939, allocations: 476.2 kB / 410.2 MB, free: 30.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.5953, allocations: 439.3 kB / 410.6 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005478/0.6008, allocations: 5.592 MB / 416.2 MB, free: 24.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.6033, allocations: 127.9 kB / 416.3 MB, free: 24.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.6035, allocations: 75.98 kB / 416.4 MB, free: 24.43 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.002114/0.6056, allocations: 0.8524 MB / 417.3 MB, free: 23.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006541/0.6063, allocations: 217.4 kB / 417.5 MB, free: 23.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.6104, allocations: 2.607 MB / 420.1 MB, free: 20.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/0.6104, allocations: 16 kB / 420.1 MB, free: 20.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6104, allocations: 11.92 kB / 420.1 MB, free: 20.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.6104, allocations: 3.984 kB / 420.1 MB, free: 20.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009212/0.6197, allocations: 5.679 MB / 425.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.6197, allocations: 8.125 kB / 425.8 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.6209, allocations: 295.5 kB / 426.1 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.6221, allocations: 0.4946 MB / 426.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-05/0.6222, allocations: 42.5 kB / 426.6 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006226/0.6285, allocations: 7.056 MB / 433.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.6285, allocations: 4 kB / 433.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006011/0.6345, allocations: 3.892 MB / 437.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/0.6362, allocations: 482.4 kB / 438 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.6365, allocations: 39.98 kB / 438.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.6376, allocations: 117 kB / 438.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.638, allocations: 121 kB / 438.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.6381, allocations: 47.98 kB / 438.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001995/0.6401, allocations: 1.356 MB / 439.7 MB, free: 432 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6401, allocations: 0 / 439.7 MB, free: 432 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.002657/0.6428, allocations: 0.5893 MB / 440.3 MB, free: 15.83 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.0005758/0.6434, allocations: 217.4 kB / 440.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005362/0.6488, allocations: 2.62 MB / 443.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.6488, allocations: 0 / 443.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003313/0.6521, allocations: 1.634 MB / 444.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/0.6571, allocations: 481.5 kB / 445.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.6733, allocations: 7.001 MB / 452.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003396/0.6768, allocations: 2.134 MB / 454.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002595/0.6794, allocations: 480.9 kB / 454.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009314/0.6804, allocations: 131.4 kB / 455 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of SimCode: time 1.994e-06/0.6804, allocations: 0 / 455 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of Templates: time 0.06613/0.7465, allocations: 29.19 MB / 484.2 MB, free: 3.77 MB / 366.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)