Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0007996/0.0007995, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001206/0.001206, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004957/0.0004958, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4186, allocations: 47.6 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01809/0.4368, allocations: 10.4 MB / 336.9 MB, free: 9.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.4527, allocations: 3.749 MB / 340.6 MB, free: 5.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006565/0.4594, allocations: 51.75 kB / 340.7 MB, free: 5.258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005889/0.4654, allocations: 0.6953 MB / 341.4 MB, free: 4.559 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007509/0.473, allocations: 0.8311 MB / 342.2 MB, free: 3.723 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.4759, allocations: 343.5 kB / 342.6 MB, free: 3.387 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.009216/0.4852, allocations: 3.507 MB / 346.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006982/0.4922, allocations: 1.797 MB / 347.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004746/0.4971, allocations: 1.156 MB / 349 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006662/0.5038, allocations: 1.588 MB / 350.6 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002131/0.506, allocations: 172 kB / 350.8 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.5096, allocations: 363.7 kB / 351.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00352/0.5132, allocations: 0.8644 MB / 352 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003954/0.5172, allocations: 0.625 MB / 352.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.5287, allocations: 4.273 MB / 356.9 MB, free: 4.973 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.5288, allocations: 0 / 356.9 MB, free: 4.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5288, allocations: 0 / 356.9 MB, free: 4.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0004058/0.5292, allocations: 0 / 356.9 MB, free: 4.973 MB / 286.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.01391/0.5431, allocations: 3.177 MB / 360.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.5432, allocations: 12.03 kB / 360.1 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/0.5464, allocations: 435.7 kB / 360.5 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006772/0.5532, allocations: 1.782 MB / 362.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/0.5537, allocations: 205.4 kB / 362.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.555, allocations: 271.9 kB / 362.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/0.5685, allocations: 3.513 MB / 366.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/0.5688, allocations: 15.84 kB / 366.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001058/0.5698, allocations: 104 kB / 366.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002612/0.5701, allocations: 125.2 kB / 366.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.5807, allocations: 2.976 MB / 369.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02659/0.6074, allocations: 11.17 MB / 380.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003608/0.611, allocations: 2.296 MB / 382.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.6133, allocations: 1.195 MB / 384.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.6137, allocations: 207.5 kB / 384.3 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.6138, allocations: 51.83 kB / 384.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.847e-06/0.6138, allocations: 0 / 384.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01814/0.6319, allocations: 7.622 MB / 392 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.632, allocations: 76.7 kB / 392.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004276/0.6363, allocations: 1.956 MB / 394 MB, free: 14.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.6365, allocations: 49.7 kB / 394.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.6377, allocations: 1.311 MB / 395.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006708/0.6384, allocations: 0.5045 MB / 395.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.6386, allocations: 39.98 kB / 395.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.6388, allocations: 377.9 kB / 396.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.6406, allocations: 0.8901 MB / 397.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.6428, allocations: 1.38 MB / 398.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.6448, allocations: 1.099 MB / 399.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.6448, allocations: 4 kB / 399.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006116/0.6509, allocations: 2.993 MB / 402.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.651, allocations: 12 kB / 402.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.606e-05/0.6511, allocations: 16.38 kB / 402.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.6524, allocations: 458.2 kB / 403.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.654, allocations: 443.3 kB / 403.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007204/0.6612, allocations: 5.594 MB / 409.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.6633, allocations: 123.9 kB / 409.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/0.6635, allocations: 75.98 kB / 409.4 MB, free: 14.96 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 16,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002099/0.6656, allocations: 0.8447 MB / 410.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007803/0.6664, allocations: 217.5 kB / 410.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005126/0.6715, allocations: 2.611 MB / 413 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/0.6716, allocations: 19.98 kB / 413.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/0.6716, allocations: 4 kB / 413.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.6716, allocations: 3.984 kB / 413.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.6831, allocations: 5.661 MB / 418.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.6831, allocations: 4.469 kB / 418.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.6843, allocations: 291.6 kB / 419 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.6857, allocations: 0.5019 MB / 419.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.6859, allocations: 43.91 kB / 419.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007896/0.6938, allocations: 7.035 MB / 426.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/0.6938, allocations: 7.938 kB / 426.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0072/0.7011, allocations: 3.877 MB / 430.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/0.7026, allocations: 490.2 kB / 431 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006604/0.7033, allocations: 39.98 kB / 431 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.7049, allocations: 107.9 kB / 431.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003501/0.7053, allocations: 121 kB / 431.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/0.7054, allocations: 43.98 kB / 431.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003153/0.7086, allocations: 1.348 MB / 432.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7086, allocations: 4 kB / 432.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003136/0.7117, allocations: 0.5859 MB / 433.2 MB, free: 6.363 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005593/0.7123, allocations: 179 kB / 433.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005213/0.7175, allocations: 2.616 MB / 436 MB, free: 3.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.7176, allocations: 0 / 436 MB, free: 3.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003151/0.7207, allocations: 1.628 MB / 437.6 MB, free: 1.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/0.7246, allocations: 490.6 kB / 438.1 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.7384, allocations: 6.681 MB / 444.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002928/0.7413, allocations: 2.14 MB / 446.9 MB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002583/0.744, allocations: 465 kB / 447.4 MB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007738/0.7448, allocations: 135.4 kB / 447.5 MB, free: 7.848 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.7448, allocations: 0 / 447.5 MB, free: 7.848 MB / 382.1 MB Notification: Performance of Templates: time 0.2712/1.016, allocations: 28.41 MB / 475.9 MB, free: 98.36 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)