Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001586/0.001586, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.785/1.785, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.002257/0.002257, allocations: 48.41 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2463, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01124/0.2576, allocations: 10.13 MB / 335.5 MB, free: 9.762 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006669/0.2643, allocations: 3.28 MB / 338.7 MB, free: 6.469 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.2661, allocations: 47.81 kB / 338.8 MB, free: 6.422 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.268, allocations: 0.6946 MB / 339.5 MB, free: 5.723 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0028/0.2708, allocations: 0.8386 MB / 340.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2718, allocations: 411.4 kB / 340.7 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003478/0.2753, allocations: 2.957 MB / 343.7 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.2778, allocations: 2.445 MB / 346.1 MB, free: 15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.2796, allocations: 1.335 MB / 347.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.2818, allocations: 1.701 MB / 349.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005262/0.2824, allocations: 352 kB / 349.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.2834, allocations: 455.8 kB / 349.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.2844, allocations: 1.017 MB / 351 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.2863, allocations: 1.606 MB / 352.6 MB, free: 8.531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004333/0.2906, allocations: 4.626 MB / 357.2 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2906, allocations: 0 / 357.2 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2906, allocations: 0 / 357.2 MB, free: 3.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.869e-05/0.2908, allocations: 0 / 357.2 MB, free: 3.891 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006877/0.2976, allocations: 3.26 MB / 360.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2977, allocations: 11.89 kB / 360.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.2985, allocations: 333.2 kB / 360.8 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.3012, allocations: 1.632 MB / 362.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.3013, allocations: 185 kB / 362.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/0.3017, allocations: 231.9 kB / 362.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005035/0.3067, allocations: 3.133 MB / 366 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.985e-05/0.3068, allocations: 16 kB / 366 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/0.307, allocations: 95.98 kB / 366.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.3072, allocations: 108.6 kB / 366.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004612/0.3118, allocations: 2.692 MB / 368.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.3267, allocations: 9.727 MB / 378.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.3296, allocations: 2.169 MB / 380.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.3315, allocations: 1.125 MB / 381.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.3318, allocations: 207.2 kB / 382.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.3319, allocations: 43.56 kB / 382.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.587e-06/0.3319, allocations: 0 / 382.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01397/0.3459, allocations: 6.701 MB / 388.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3459, allocations: 64.72 kB / 388.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.3486, allocations: 1.739 MB / 390.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.3487, allocations: 49.7 kB / 390.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009005/0.3496, allocations: 1.151 MB / 391.8 MB, free: 316 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.3501, allocations: 457.6 kB / 392.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004469/0.3505, allocations: 283.3 kB / 392.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3507, allocations: 305.1 kB / 392.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.352, allocations: 0.8002 MB / 393.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.3536, allocations: 1.198 MB / 394.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002847/0.3564, allocations: 2.095 MB / 396.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.3564, allocations: 4 kB / 397 MB, free: 10.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004479/0.3609, allocations: 2.674 MB / 399.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.361, allocations: 15.94 kB / 399.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.361, allocations: 12 kB / 399.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009564/0.362, allocations: 423.5 kB / 400.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.3632, allocations: 355.4 kB / 400.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006675/0.3699, allocations: 7.073 MB / 407.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.3713, allocations: 107.9 kB / 407.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.3714, allocations: 63.98 kB / 407.7 MB, free: 15.64 MB / 350.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.001297/0.3727, allocations: 0.7977 MB / 408.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.3731, allocations: 189.6 kB / 408.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.3769, allocations: 2.364 MB / 411 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.377, allocations: 19.94 kB / 411 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.377, allocations: 4 kB / 411 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.377, allocations: 11.97 kB / 411 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008221/0.3852, allocations: 5.122 MB / 416.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3853, allocations: 4 kB / 416.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/0.3862, allocations: 231.6 kB / 416.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.3874, allocations: 455.3 kB / 416.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.3875, allocations: 35.98 kB / 416.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007844/0.3953, allocations: 8.631 MB / 425.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3954, allocations: 4 kB / 425.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/0.4007, allocations: 3.523 MB / 429 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/0.4016, allocations: 438.7 kB / 429.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.4018, allocations: 31.98 kB / 429.5 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/0.4027, allocations: 87.91 kB / 429.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.403, allocations: 124.7 kB / 429.7 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.665e-05/0.4031, allocations: 36 kB / 429.7 MB, free: 8.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001665/0.4047, allocations: 1.198 MB / 430.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4047, allocations: 0 / 430.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001612/0.4064, allocations: 0.5038 MB / 431.4 MB, free: 6.984 MB / 366.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.0003661/0.4067, allocations: 203.1 kB / 431.6 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00548/0.4122, allocations: 3.1 MB / 434.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.4122, allocations: 0 / 434.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.4147, allocations: 1.623 MB / 436.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.417, allocations: 486.7 kB / 436.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008438/0.4255, allocations: 5.062 MB / 441.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/0.4273, allocations: 2.001 MB / 443.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001459/0.4287, allocations: 443.5 kB / 444.3 MB, free: 9.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.4291, allocations: 127.4 kB / 444.4 MB, free: 9.73 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4291, allocations: 7.938 kB / 444.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of Templates: time 0.2605/0.6896, allocations: 27.72 MB / 472.2 MB, free: 102.2 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)