Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001512/0.001512, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.716/1.716, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001313/0.001313, allocations: 56.34 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4342, allocations: 46.63 MB / 325.3 MB, free: 1.977 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.03231/0.4666, allocations: 11.76 MB / 337.1 MB, free: 8.242 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.4846, allocations: 3.965 MB / 341 MB, free: 4.266 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005998/0.4907, allocations: 59.75 kB / 341.1 MB, free: 4.207 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006014/0.4969, allocations: 0.8501 MB / 341.9 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009458/0.5064, allocations: 0.9822 MB / 342.9 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.5101, allocations: 0.5266 MB / 343.5 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.5213, allocations: 3.436 MB / 346.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006573/0.528, allocations: 2.68 MB / 349.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004439/0.5325, allocations: 1.53 MB / 351.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005054/0.5375, allocations: 1.927 MB / 353 MB, free: 8.176 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002138/0.5397, allocations: 412 kB / 353.4 MB, free: 7.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.5432, allocations: 0.6557 MB / 354.1 MB, free: 7.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002902/0.5461, allocations: 1.138 MB / 355.2 MB, free: 5.977 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006429/0.5526, allocations: 1.835 MB / 357.1 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.5642, allocations: 5.316 MB / 362.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.5643, allocations: 4 kB / 362.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.5643, allocations: 0 / 362.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003518/0.5647, allocations: 0 / 362.4 MB, free: 14.8 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.01501/0.5797, allocations: 3.703 MB / 366.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.659e-05/0.5798, allocations: 11.89 kB / 366.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.5819, allocations: 436.7 kB / 366.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.5863, allocations: 1.833 MB / 368.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.5865, allocations: 209.3 kB / 368.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004755/0.587, allocations: 267.9 kB / 368.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008064/0.5951, allocations: 3.525 MB / 372.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.362e-05/0.5952, allocations: 7.906 kB / 372.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.5955, allocations: 108 kB / 372.5 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.5957, allocations: 125.2 kB / 372.6 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005817/0.6015, allocations: 2.964 MB / 375.5 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02167/0.6232, allocations: 11.1 MB / 386.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.6266, allocations: 2.276 MB / 388.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.6288, allocations: 1.184 MB / 390.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/0.6292, allocations: 211.4 kB / 390.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.6292, allocations: 47.88 kB / 390.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.569e-06/0.6292, allocations: 0 / 390.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01856/0.6478, allocations: 7.49 MB / 397.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.6479, allocations: 64.72 kB / 397.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004299/0.6523, allocations: 1.979 MB / 399.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.6524, allocations: 45.7 kB / 399.9 MB, free: 8.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.6539, allocations: 1.316 MB / 401.2 MB, free: 6.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006471/0.6546, allocations: 0.5044 MB / 401.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006278/0.6552, allocations: 327.3 kB / 402.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6554, allocations: 301.1 kB / 402.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.657, allocations: 0.8823 MB / 403.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.6591, allocations: 1.372 MB / 404.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.663, allocations: 2.382 MB / 407 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.663, allocations: 4 kB / 407 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006007/0.669, allocations: 2.978 MB / 410 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.6691, allocations: 12.38 kB / 410 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.6691, allocations: 23.94 kB / 410 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.6704, allocations: 458.2 kB / 410.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.6721, allocations: 431.3 kB / 410.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008124/0.6802, allocations: 6.116 MB / 417 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.6828, allocations: 119.8 kB / 417.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.683, allocations: 79.98 kB / 417.2 MB, free: 6.215 MB / 350.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.00216/0.6852, allocations: 0.8563 MB / 418.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.6857, allocations: 213.4 kB / 418.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004586/0.6903, allocations: 2.579 MB / 420.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/0.6903, allocations: 19.98 kB / 420.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.6904, allocations: 4 kB / 420.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.6904, allocations: 3.984 kB / 420.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.701, allocations: 5.65 MB / 426.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.7011, allocations: 4 kB / 426.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.7023, allocations: 279.6 kB / 426.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.7037, allocations: 0.4904 MB / 427.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.7038, allocations: 51.97 kB / 427.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008358/0.7122, allocations: 7.667 MB / 435 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.7122, allocations: 11.94 kB / 435 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007353/0.7196, allocations: 3.846 MB / 438.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/0.7211, allocations: 478.4 kB / 439.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/0.7214, allocations: 39.98 kB / 439.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.7226, allocations: 99.88 kB / 439.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003595/0.723, allocations: 125 kB / 439.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.765e-05/0.7231, allocations: 43.98 kB / 439.6 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002488/0.7256, allocations: 1.356 MB / 441 MB, free: 13.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7256, allocations: 0 / 441 MB, free: 13.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002708/0.7283, allocations: 0.5899 MB / 441.6 MB, free: 13.06 MB / 382.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.0005621/0.7289, allocations: 215 kB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006781/0.7357, allocations: 3.359 MB / 445.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.7357, allocations: 0 / 445.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002893/0.7386, allocations: 1.611 MB / 446.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/0.742, allocations: 494.3 kB / 447.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.7549, allocations: 5.68 MB / 452.9 MB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2915/1.046, allocations: 2.134 MB / 455.1 MB, free: 110.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002986/1.049, allocations: 473.6 kB / 455.5 MB, free: 110.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/1.05, allocations: 141.6 kB / 455.7 MB, free: 110.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.334e-06/1.05, allocations: 0 / 455.7 MB, free: 110.6 MB / 382.1 MB Notification: Performance of Templates: time 0.05885/1.109, allocations: 30.92 MB / 486.6 MB, free: 88.34 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)