Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.0009949/0.0009948, allocations: 86.12 kB / 16.31 MB, free: 5.66 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.001275/0.001274, allocations: 182.4 kB / 17.21 MB, free: 5.578 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.762/1.762, allocations: 205.4 MB / 223.4 MB, free: 5.496 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.0005588/0.0005588, allocations: 12 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2562, allocations: 47.59 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.008634/0.2648, allocations: 8.456 MB / 336.2 MB, free: 10.81 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006404/0.2713, allocations: 2.957 MB / 339.2 MB, free: 8.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.273, allocations: 47.75 kB / 339.2 MB, free: 8.023 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.2751, allocations: 0.5319 MB / 339.7 MB, free: 7.488 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.2779, allocations: 0.6525 MB / 340.4 MB, free: 6.832 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.2791, allocations: 247.7 kB / 340.6 MB, free: 6.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.2828, allocations: 2.595 MB / 343.2 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002789/0.2856, allocations: 1.496 MB / 344.7 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.288, allocations: 0.8871 MB / 345.6 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00275/0.2908, allocations: 1.214 MB / 346.8 MB, free: 352 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006631/0.2914, allocations: 136 kB / 346.9 MB, free: 216 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.2927, allocations: 215.8 kB / 347.2 MB, free: 0 / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.2942, allocations: 0.6698 MB / 347.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.2953, allocations: 0.4887 MB / 348.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00405/0.2993, allocations: 3.327 MB / 351.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2994, allocations: 0 / 351.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2994, allocations: 0 / 351.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001691/0.2995, allocations: 8 kB / 351.7 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.006096/0.3056, allocations: 2.487 MB / 354.1 MB, free: 8.934 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3057, allocations: 8.031 kB / 354.1 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.3068, allocations: 292.7 kB / 354.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.3103, allocations: 1.382 MB / 355.8 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.3105, allocations: 168.1 kB / 356 MB, free: 7.027 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007093/0.3112, allocations: 211.9 kB / 356.2 MB, free: 6.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006408/0.3176, allocations: 2.788 MB / 359 MB, free: 3.945 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.271e-05/0.3177, allocations: 11.92 kB / 359 MB, free: 3.934 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.318, allocations: 88 kB / 359.1 MB, free: 3.848 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.3181, allocations: 104.1 kB / 359.2 MB, free: 3.742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004625/0.3227, allocations: 2.351 MB / 361.5 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01553/0.3383, allocations: 8.644 MB / 370.2 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.3409, allocations: 1.714 MB / 371.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.3426, allocations: 0.976 MB / 372.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.3429, allocations: 211.2 kB / 373.1 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.343, allocations: 47.56 kB / 373.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of pre-optimization done (n=101): time 3.035e-06/0.343, allocations: 0 / 373.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=116): time 0.01493/0.3579, allocations: 6.197 MB / 379.3 MB, free: 15.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.3581, allocations: 64.41 kB / 379.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/0.3607, allocations: 1.429 MB / 380.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.3609, allocations: 45.7 kB / 380.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009995/0.3619, allocations: 1.037 MB / 381.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/0.3623, allocations: 406.1 kB / 382.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.817e-05/0.3625, allocations: 24 kB / 382.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.3627, allocations: 369.9 kB / 382.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.3639, allocations: 0.691 MB / 383.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.3655, allocations: 1.074 MB / 384.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.367, allocations: 0.854 MB / 385.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/0.3671, allocations: 4 kB / 385.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004904/0.372, allocations: 2.406 MB / 387.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.372, allocations: 12 kB / 387.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/0.3721, allocations: 16 kB / 387.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.3731, allocations: 431.2 kB / 388.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.3743, allocations: 327.5 kB / 388.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007493/0.3818, allocations: 6.452 MB / 394.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.3833, allocations: 103.9 kB / 395 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.3835, allocations: 60 kB / 395.1 MB, free: 14.59 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.001696/0.3852, allocations: 0.6927 MB / 395.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004728/0.3857, allocations: 162 kB / 395.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/0.3898, allocations: 2.134 MB / 398.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.3898, allocations: 12 kB / 398.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.3898, allocations: 4 kB / 398.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.3898, allocations: 7.969 kB / 398.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008403/0.3982, allocations: 4.593 MB / 402.7 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.3983, allocations: 4 kB / 402.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008953/0.3992, allocations: 219.8 kB / 402.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.4003, allocations: 463.1 kB / 403.3 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.4004, allocations: 35.98 kB / 403.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007939/0.4084, allocations: 7.908 MB / 411.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4084, allocations: 7.938 kB / 411.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005259/0.4137, allocations: 3.128 MB / 414.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009666/0.4146, allocations: 387 kB / 414.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004248/0.4151, allocations: 28 kB / 414.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009919/0.4161, allocations: 91.91 kB / 414.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.4163, allocations: 96.75 kB / 415 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.314e-05/0.4164, allocations: 36 kB / 415.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00186/0.4183, allocations: 0.9808 MB / 416 MB, free: 8.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4183, allocations: 0 / 416 MB, free: 8.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002051/0.4204, allocations: 464.1 kB / 416.5 MB, free: 8.316 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.0003789/0.4207, allocations: 154.9 kB / 416.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004309/0.4251, allocations: 2.227 MB / 418.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.4251, allocations: 4.062 kB / 418.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0029/0.428, allocations: 1.446 MB / 420.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.4309, allocations: 409.2 kB / 420.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.4418, allocations: 5.313 MB / 426 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/0.4441, allocations: 1.811 MB / 427.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001675/0.4458, allocations: 365.6 kB / 428.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.4464, allocations: 111.4 kB / 428.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4464, allocations: 4 kB / 428.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of Templates: time 0.04275/0.4891, allocations: 22.41 MB / 450.7 MB, free: 5.809 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1)