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.001524/0.001524, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002127/0.002127, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.819/1.819, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001293/0.001293, allocations: 47.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 46.64 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01549/0.3632, allocations: 11.66 MB / 336.5 MB, free: 8.398 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.374, allocations: 3.915 MB / 340.4 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004693/0.3787, allocations: 51.75 kB / 340.5 MB, free: 4.422 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004198/0.383, allocations: 0.7499 MB / 341.2 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005438/0.3885, allocations: 0.8819 MB / 342.1 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.3907, allocations: 479.5 kB / 342.6 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006647/0.3974, allocations: 3.44 MB / 346 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003989/0.4014, allocations: 2.68 MB / 348.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.4048, allocations: 1.538 MB / 350.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00391/0.4087, allocations: 1.973 MB / 352.2 MB, free: 8.594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.4102, allocations: 408 kB / 352.6 MB, free: 8.195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.4128, allocations: 0.644 MB / 353.3 MB, free: 7.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.4145, allocations: 1.153 MB / 354.4 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004228/0.4187, allocations: 1.839 MB / 356.2 MB, free: 4.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007607/0.4264, allocations: 5.308 MB / 361.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4264, allocations: 0 / 361.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4264, allocations: 0 / 361.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002042/0.4266, allocations: 0 / 361.6 MB, free: 15.22 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.01214/0.4388, allocations: 3.711 MB / 365.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.325e-05/0.4389, allocations: 11.89 kB / 365.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.4406, allocations: 432.7 kB / 365.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/0.4445, allocations: 1.833 MB / 367.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.4448, allocations: 213.3 kB / 367.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005006/0.4453, allocations: 275.9 kB / 368 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007835/0.4531, allocations: 3.521 MB / 371.5 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.932e-05/0.4533, allocations: 7.906 kB / 371.5 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.4535, allocations: 104 kB / 371.6 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.4537, allocations: 125.2 kB / 371.8 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006056/0.4598, allocations: 2.964 MB / 374.7 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02143/0.4812, allocations: 11.1 MB / 385.8 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.4843, allocations: 2.28 MB / 388.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.4865, allocations: 1.18 MB / 389.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003983/0.4869, allocations: 215.4 kB / 389.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/0.487, allocations: 51.88 kB / 389.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.598e-06/0.487, allocations: 0 / 389.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01835/0.5054, allocations: 7.49 MB / 397 MB, free: 10.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.5055, allocations: 68.72 kB / 397.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/0.5094, allocations: 1.979 MB / 399.1 MB, free: 8.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.5097, allocations: 53.7 kB / 399.1 MB, free: 8.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.511, allocations: 1.304 MB / 400.4 MB, free: 7.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006832/0.5117, allocations: 0.5121 MB / 400.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006183/0.5123, allocations: 323.3 kB / 401.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5125, allocations: 301.1 kB / 401.6 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.5143, allocations: 0.8862 MB / 402.4 MB, free: 5.316 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.5162, allocations: 1.365 MB / 403.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003671/0.5199, allocations: 2.378 MB / 406.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.5199, allocations: 4 kB / 406.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005424/0.5253, allocations: 2.982 MB / 409.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.5254, allocations: 12 kB / 409.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.76e-05/0.5255, allocations: 19.94 kB / 409.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.5268, allocations: 466.4 kB / 409.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.5284, allocations: 431.3 kB / 410.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007542/0.536, allocations: 6.112 MB / 416.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.5381, allocations: 123.8 kB / 416.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.5383, allocations: 76 kB / 416.4 MB, free: 6.633 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.001772/0.5401, allocations: 0.8485 MB / 417.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004379/0.5405, allocations: 209.4 kB / 417.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004467/0.545, allocations: 2.583 MB / 420 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/0.5451, allocations: 16 kB / 420 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.5451, allocations: 4 kB / 420 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.5451, allocations: 7.969 kB / 420 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009826/0.5549, allocations: 5.645 MB / 425.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.555, allocations: 4 kB / 425.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.5562, allocations: 288.1 kB / 426 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.5575, allocations: 498 kB / 426.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.5576, allocations: 43.97 kB / 426.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008146/0.5658, allocations: 7.687 MB / 434.2 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.5658, allocations: 4 kB / 434.2 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/0.5726, allocations: 3.838 MB / 438 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/0.5743, allocations: 482.5 kB / 438.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003347/0.5747, allocations: 39.98 kB / 438.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.5759, allocations: 99.88 kB / 438.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003475/0.5762, allocations: 121 kB / 438.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.5764, allocations: 47.98 kB / 438.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002279/0.5787, allocations: 1.359 MB / 440.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5787, allocations: 0 / 440.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002491/0.5812, allocations: 0.582 MB / 440.8 MB, free: 13.48 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.0005561/0.5817, allocations: 218.9 kB / 441 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006929/0.5887, allocations: 3.346 MB / 444.3 MB, free: 9.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.5887, allocations: 4 kB / 444.3 MB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002988/0.5917, allocations: 1.616 MB / 445.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/0.5952, allocations: 0.4983 MB / 446.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.6094, allocations: 6.859 MB / 453.3 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3054/0.9149, allocations: 2.131 MB / 455.4 MB, free: 110.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003608/0.9186, allocations: 472.8 kB / 455.9 MB, free: 110.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007865/0.9194, allocations: 139 kB / 456 MB, free: 110.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.705e-06/0.9194, allocations: 0 / 456 MB, free: 110.8 MB / 382.1 MB Notification: Performance of Templates: time 0.07816/0.9976, allocations: 30.78 MB / 486.8 MB, free: 88.57 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)