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.001325/0.001325, allocations: 105.4 kB / 16.51 MB, free: 6.707 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.001404/0.001404, allocations: 186.6 kB / 17.42 MB, free: 6.07 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.79/1.79, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.002053/0.002053, allocations: 52.2 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1614, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01614/0.1776, allocations: 11.65 MB / 337.6 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.1903, allocations: 3.945 MB / 341.6 MB, free: 5.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003991/0.1944, allocations: 51.75 kB / 341.6 MB, free: 5.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.1986, allocations: 0.746 MB / 342.4 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.2041, allocations: 0.8858 MB / 343.2 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.2067, allocations: 475.5 kB / 343.7 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007078/0.2138, allocations: 3.873 MB / 347.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004429/0.2182, allocations: 2.244 MB / 349.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.2215, allocations: 1.323 MB / 351.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004274/0.2258, allocations: 1.856 MB / 353 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001414/0.2273, allocations: 252 kB / 353.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.2297, allocations: 0.5033 MB / 353.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.2315, allocations: 0.9852 MB / 354.7 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003663/0.2351, allocations: 1.66 MB / 356.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005531/0.2407, allocations: 5.187 MB / 361.6 MB, free: 1.059 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.2407, allocations: 3.938 kB / 361.6 MB, free: 1.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2407, allocations: 0 / 361.6 MB, free: 1.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001363/0.2409, allocations: 0 / 361.6 MB, free: 1.055 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.009354/0.2502, allocations: 3.707 MB / 365.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.2503, allocations: 8.031 kB / 365.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.2517, allocations: 436.7 kB / 365.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.255, allocations: 1.836 MB / 367.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.2552, allocations: 205.3 kB / 367.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/0.2556, allocations: 272 kB / 368 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006414/0.262, allocations: 3.521 MB / 371.6 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.757e-05/0.2621, allocations: 7.906 kB / 371.6 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/0.2624, allocations: 108 kB / 371.7 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.2625, allocations: 125.2 kB / 371.8 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005858/0.2684, allocations: 2.964 MB / 374.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3627/0.6311, allocations: 11.1 MB / 385.9 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004166/0.6353, allocations: 2.282 MB / 388.1 MB, free: 44.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/0.6383, allocations: 1.177 MB / 389.3 MB, free: 44.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003873/0.6387, allocations: 213.2 kB / 389.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.6387, allocations: 45.66 kB / 389.6 MB, free: 43.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 5.17e-06/0.6388, allocations: 1.219 kB / 389.6 MB, free: 43.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01887/0.6576, allocations: 7.491 MB / 397.1 MB, free: 40.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.6577, allocations: 68.44 kB / 397.1 MB, free: 40.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003812/0.6616, allocations: 1.977 MB / 399.1 MB, free: 39.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.6618, allocations: 49.66 kB / 399.1 MB, free: 39.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.6632, allocations: 1.308 MB / 400.5 MB, free: 37.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/0.6638, allocations: 0.5042 MB / 401 MB, free: 37.49 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005613/0.6644, allocations: 324.7 kB / 401.3 MB, free: 37.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.6645, allocations: 309.1 kB / 401.6 MB, free: 37.01 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.666, allocations: 0.8822 MB / 402.5 MB, free: 36.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.6677, allocations: 1.372 MB / 403.8 MB, free: 35.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.6711, allocations: 2.386 MB / 406.2 MB, free: 33.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.6712, allocations: 7.875 kB / 406.2 MB, free: 33.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006454/0.6776, allocations: 2.982 MB / 409.2 MB, free: 31.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.6777, allocations: 12 kB / 409.2 MB, free: 31.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.862e-05/0.6778, allocations: 12 kB / 409.2 MB, free: 31.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.6791, allocations: 465.4 kB / 409.7 MB, free: 30.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.6807, allocations: 431.3 kB / 410.1 MB, free: 30.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005594/0.6863, allocations: 5.583 MB / 415.7 MB, free: 24.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/0.6892, allocations: 123.8 kB / 415.8 MB, free: 24.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.6894, allocations: 71.98 kB / 415.9 MB, free: 24.09 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.00218/0.6916, allocations: 0.8561 MB / 416.7 MB, free: 23.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007628/0.6924, allocations: 213.4 kB / 416.9 MB, free: 23.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.6965, allocations: 2.587 MB / 419.5 MB, free: 20.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.6965, allocations: 16 kB / 419.5 MB, free: 20.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.6965, allocations: 4 kB / 419.6 MB, free: 20.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.6966, allocations: 7.969 kB / 419.6 MB, free: 20.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.7068, allocations: 5.644 MB / 425.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.7069, allocations: 4 kB / 425.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.708, allocations: 287.6 kB / 425.5 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.7093, allocations: 0.4938 MB / 426 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.7095, allocations: 43.98 kB / 426 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006391/0.7159, allocations: 7.031 MB / 433.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7159, allocations: 8 kB / 433.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00652/0.7224, allocations: 3.849 MB / 436.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/0.7244, allocations: 482.5 kB / 437.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009782/0.7254, allocations: 32 kB / 437.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/0.7275, allocations: 103.9 kB / 437.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/0.728, allocations: 121 kB / 437.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.7281, allocations: 43.98 kB / 437.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00363/0.7318, allocations: 1.363 MB / 439 MB, free: 240 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7318, allocations: 0 / 439 MB, free: 240 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.004473/0.7363, allocations: 0.5896 MB / 439.6 MB, free: 15.65 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.0009978/0.7373, allocations: 212.6 kB / 439.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00663/0.744, allocations: 2.607 MB / 442.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/0.744, allocations: 0 / 442.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003956/0.748, allocations: 1.611 MB / 444.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005625/0.7536, allocations: 471.9 kB / 444.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.7728, allocations: 6.859 MB / 451.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003636/0.7765, allocations: 2.136 MB / 453.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002661/0.7792, allocations: 469 kB / 454 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008958/0.7801, allocations: 135.4 kB / 454.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of SimCode: time 1.473e-06/0.7801, allocations: 3.172 kB / 454.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of Templates: time 0.06341/0.8435, allocations: 29.67 MB / 483.8 MB, free: 3.312 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)