Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 112.4 kB / 17.06 MB, free: 6.004 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.001279/0.001279, allocations: 200 kB / 18 MB, free: 5.082 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.75/1.75, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001558/0.001558, allocations: 47.94 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1437, allocations: 46.62 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.2615/0.4053, allocations: 10.13 MB / 384.6 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00995/0.4153, allocations: 3.291 MB / 387.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004411/0.4198, allocations: 46.84 kB / 388 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003661/0.4235, allocations: 0.7018 MB / 388.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00724/0.4308, allocations: 0.8326 MB / 389.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.4328, allocations: 417.2 kB / 389.9 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007255/0.4401, allocations: 2.968 MB / 392.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005525/0.4457, allocations: 2.44 MB / 395.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004664/0.4504, allocations: 1.346 MB / 396.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005413/0.4559, allocations: 1.698 MB / 398.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002174/0.4581, allocations: 354.1 kB / 398.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.4615, allocations: 457.6 kB / 399.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002852/0.4644, allocations: 1.015 MB / 400.2 MB, free: 164 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0064/0.4708, allocations: 1.608 MB / 401.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.482, allocations: 4.68 MB / 406.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.4821, allocations: 0 / 406.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4821, allocations: 1.281 kB / 406.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002882/0.4824, allocations: 0 / 406.5 MB, free: 12.26 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.01526/0.4977, allocations: 3.25 MB / 409.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/0.4978, allocations: 17.31 kB / 409.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.4997, allocations: 323.2 kB / 410 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/0.5048, allocations: 1.66 MB / 411.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.505, allocations: 177.3 kB / 411.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005597/0.5056, allocations: 233.9 kB / 412.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008182/0.5138, allocations: 3.133 MB / 415.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/0.5139, allocations: 11.91 kB / 415.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/0.5142, allocations: 103.9 kB / 415.3 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.5143, allocations: 104.6 kB / 415.4 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006304/0.5206, allocations: 2.692 MB / 418.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02607/0.5468, allocations: 9.618 MB / 427.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/0.5502, allocations: 2.173 MB / 429.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/0.5524, allocations: 1.125 MB / 431.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/0.5529, allocations: 203.2 kB / 431.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/0.553, allocations: 47.56 kB / 431.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 4.088e-06/0.553, allocations: 0 / 431.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.01787/0.5709, allocations: 6.698 MB / 438 MB, free: 15.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.571, allocations: 64.72 kB / 438.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/0.5743, allocations: 1.743 MB / 439.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.5745, allocations: 49.69 kB / 439.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008635/0.5753, allocations: 1.155 MB / 441 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000434/0.5758, allocations: 457.5 kB / 441.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004945/0.5763, allocations: 283.3 kB / 441.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5765, allocations: 309 kB / 442 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.5779, allocations: 0.7886 MB / 442.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.5795, allocations: 1.206 MB / 444 MB, free: 8.934 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/0.5824, allocations: 2.098 MB / 446.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.5824, allocations: 4 kB / 446.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004826/0.5873, allocations: 2.659 MB / 448.8 MB, free: 3.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.5873, allocations: 12 kB / 448.8 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.5873, allocations: 19.92 kB / 448.8 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.5884, allocations: 427.8 kB / 449.2 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.5898, allocations: 359.4 kB / 449.6 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007444/0.5972, allocations: 7.074 MB / 456.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.5995, allocations: 103.9 kB / 456.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.5997, allocations: 63.98 kB / 456.8 MB, free: 11.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002025/0.6017, allocations: 0.7861 MB / 457.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005399/0.6023, allocations: 189.7 kB / 457.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/0.6065, allocations: 2.371 MB / 460.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.6066, allocations: 19.94 kB / 460.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.6066, allocations: 7.984 kB / 460.2 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.6066, allocations: 3.984 kB / 460.2 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.6168, allocations: 5.098 MB / 465.3 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.6169, allocations: 4 kB / 465.3 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6179, allocations: 232.1 kB / 465.5 MB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.6191, allocations: 462.9 kB / 466 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.715e-05/0.6192, allocations: 35.98 kB / 466 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008314/0.6275, allocations: 8.623 MB / 474.6 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6276, allocations: 4 kB / 474.6 MB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006161/0.6338, allocations: 3.529 MB / 478.2 MB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.6353, allocations: 434.7 kB / 478.6 MB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/0.6356, allocations: 32 kB / 478.6 MB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/0.6366, allocations: 91.89 kB / 478.7 MB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/0.637, allocations: 116.8 kB / 478.8 MB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/0.6371, allocations: 47.98 kB / 478.9 MB, free: 4.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001963/0.639, allocations: 1.198 MB / 480.1 MB, free: 3.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.639, allocations: 3.938 kB / 480.1 MB, free: 3.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00231/0.6414, allocations: 0.4961 MB / 480.6 MB, free: 2.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.0004725/0.6418, allocations: 212.1 kB / 480.8 MB, free: 2.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004257/0.6461, allocations: 2.468 MB / 483.3 MB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6461, allocations: 0 / 483.3 MB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002701/0.6488, allocations: 1.618 MB / 484.9 MB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/0.6516, allocations: 476.6 kB / 485.3 MB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009077/0.6607, allocations: 5.011 MB / 490.3 MB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.6626, allocations: 1.993 MB / 492.3 MB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001614/0.6642, allocations: 439.5 kB / 492.8 MB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/0.6646, allocations: 135.4 kB / 492.9 MB, free: 6.297 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6646, allocations: 0 / 492.9 MB, free: 6.297 MB / 414.1 MB Notification: Performance of Templates: time 0.05281/0.7174, allocations: 28.71 MB / 0.5094 GB, free: 9.535 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)