Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 84.38 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.001333/0.001333, 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.768/1.768, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004974/0.0004974, allocations: 16 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3393, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01066/0.3501, allocations: 8.453 MB / 334.9 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007783/0.3579, allocations: 2.964 MB / 337.9 MB, free: 8.051 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/0.3606, allocations: 43.81 kB / 337.9 MB, free: 8.008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.3631, allocations: 0.5397 MB / 338.5 MB, free: 7.465 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.3664, allocations: 0.6408 MB / 339.1 MB, free: 6.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3677, allocations: 259.6 kB / 339.4 MB, free: 6.566 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004038/0.3717, allocations: 2.596 MB / 342 MB, free: 3.961 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00306/0.3748, allocations: 1.492 MB / 343.5 MB, free: 2.434 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.377, allocations: 0.8832 MB / 344.4 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002463/0.3795, allocations: 1.21 MB / 345.6 MB, free: 340 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007169/0.3802, allocations: 136 kB / 345.7 MB, free: 204 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.3816, allocations: 215.9 kB / 345.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.3829, allocations: 0.6736 MB / 346.6 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.3843, allocations: 496.5 kB / 347.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.3886, allocations: 3.327 MB / 350.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3886, allocations: 8 kB / 350.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3886, allocations: 0 / 350.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001266/0.3887, allocations: 0 / 350.4 MB, free: 11.48 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005946/0.3947, allocations: 2.487 MB / 352.9 MB, free: 8.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.3947, allocations: 8.031 kB / 352.9 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008629/0.3956, allocations: 292.7 kB / 353.2 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.3982, allocations: 1.382 MB / 354.6 MB, free: 7.188 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.3984, allocations: 168.2 kB / 354.7 MB, free: 7.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/0.3987, allocations: 207.9 kB / 354.9 MB, free: 6.816 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005299/0.404, allocations: 2.803 MB / 357.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.4041, allocations: 0 / 357.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.4043, allocations: 84 kB / 357.8 MB, free: 3.844 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.4044, allocations: 112.1 kB / 357.9 MB, free: 3.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/0.4086, allocations: 2.363 MB / 360.3 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.4222, allocations: 8.628 MB / 368.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.4246, allocations: 1.718 MB / 370.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.4262, allocations: 0.9762 MB / 371.6 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.4265, allocations: 211.2 kB / 371.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.4266, allocations: 39.56 kB / 371.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of pre-optimization done (n=101): time 3.206e-06/0.4266, allocations: 0 / 371.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=116): time 0.01283/0.4394, allocations: 6.205 MB / 378.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.4395, allocations: 64.41 kB / 378.1 MB, free: 14.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.4416, allocations: 1.429 MB / 379.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.37e-05/0.4417, allocations: 45.7 kB / 379.6 MB, free: 13.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007506/0.4424, allocations: 1.029 MB / 380.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.4428, allocations: 410.1 kB / 381 MB, free: 12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.4429, allocations: 28 kB / 381.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4431, allocations: 365.9 kB / 381.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.4442, allocations: 0.6949 MB / 382.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.4455, allocations: 1.074 MB / 383.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.4468, allocations: 0.8501 MB / 384 MB, free: 8.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.4469, allocations: 8 kB / 384 MB, free: 8.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003968/0.4508, allocations: 2.41 MB / 386.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.4509, allocations: 12 kB / 386.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.4509, allocations: 12 kB / 386.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009252/0.4518, allocations: 415.3 kB / 386.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.453, allocations: 335.5 kB / 387.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/0.4595, allocations: 6.464 MB / 393.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.4609, allocations: 107.9 kB / 393.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.461, allocations: 56 kB / 393.8 MB, free: 14.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001333/0.4623, allocations: 0.6886 MB / 394.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.4626, allocations: 158 kB / 394.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.4661, allocations: 2.138 MB / 396.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.4662, allocations: 12 kB / 396.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.4662, allocations: 4 kB / 396.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.4662, allocations: 7.969 kB / 396.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00743/0.4736, allocations: 4.605 MB / 401.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.4737, allocations: 4 kB / 401.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/0.4745, allocations: 219.7 kB / 401.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.4756, allocations: 455.6 kB / 402.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.091e-05/0.4757, allocations: 31.98 kB / 402.1 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007921/0.4836, allocations: 7.904 MB / 410 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.4836, allocations: 11.94 kB / 410 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005244/0.4889, allocations: 3.136 MB / 413.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.4901, allocations: 379 kB / 413.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.4903, allocations: 35.98 kB / 413.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.4912, allocations: 91.91 kB / 413.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.4914, allocations: 92.77 kB / 413.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.4915, allocations: 43.98 kB / 413.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001774/0.4933, allocations: 0.973 MB / 414.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4933, allocations: 0 / 414.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001811/0.4951, allocations: 468.1 kB / 415.2 MB, free: 8.293 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003726/0.4955, allocations: 151.1 kB / 415.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003669/0.4992, allocations: 2.231 MB / 417.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4992, allocations: 0 / 417.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002234/0.5014, allocations: 1.45 MB / 419.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.5035, allocations: 397.2 kB / 419.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008214/0.5118, allocations: 5.328 MB / 424.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.5133, allocations: 1.807 MB / 426.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001214/0.5145, allocations: 361.6 kB / 426.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.5149, allocations: 119.4 kB / 427.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5149, allocations: 0 / 427.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.04289/0.5578, allocations: 22.4 MB / 449.5 MB, free: 5.797 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1)