Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.007899/0.007898, allocations: 101.5 kB / 15.73 MB, free: 6.008 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.001848/0.001848, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.84/1.84, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.002221/0.002221, allocations: 58.7 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.151, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01595/0.167, allocations: 10.14 MB / 383.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.1781, allocations: 3.28 MB / 386.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.1818, allocations: 55.69 kB / 386.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.1857, allocations: 0.6907 MB / 387.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.1907, allocations: 0.8387 MB / 388.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.193, allocations: 411.4 kB / 388.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005874/0.1989, allocations: 2.977 MB / 391.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00467/0.2036, allocations: 2.433 MB / 394 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.2068, allocations: 1.343 MB / 395.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003834/0.2107, allocations: 1.693 MB / 397 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001576/0.2123, allocations: 356 kB / 397.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.2145, allocations: 455.8 kB / 397.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002464/0.217, allocations: 1.021 MB / 398.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005116/0.2222, allocations: 1.606 MB / 400.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009521/0.2317, allocations: 4.677 MB / 405.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.2318, allocations: 0 / 405.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.2318, allocations: 0 / 405.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002472/0.232, allocations: 0 / 405.1 MB, free: 1.168 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.01419/0.2463, allocations: 3.261 MB / 408.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.2463, allocations: 11.89 kB / 408.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.2482, allocations: 333.2 kB / 408.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004946/0.2532, allocations: 1.655 MB / 410.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.2535, allocations: 180.8 kB / 410.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.2545, allocations: 232 kB / 410.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008851/0.2634, allocations: 3.129 MB / 413.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.701e-05/0.2635, allocations: 11.89 kB / 413.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003386/0.2639, allocations: 96 kB / 414 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001806/0.2641, allocations: 108.6 kB / 414.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007131/0.2712, allocations: 2.692 MB / 416.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02225/0.2935, allocations: 9.618 MB / 426.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/0.2975, allocations: 2.17 MB / 428.6 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002602/0.3001, allocations: 1.108 MB / 429.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004623/0.3006, allocations: 207.2 kB / 429.9 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/0.3007, allocations: 51.56 kB / 430 MB, free: 7.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 4.839e-06/0.3007, allocations: 0 / 430 MB, free: 7.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.0181/0.3188, allocations: 6.709 MB / 436.7 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.319, allocations: 64.72 kB / 436.7 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/0.323, allocations: 1.743 MB / 438.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003548/0.3234, allocations: 45.7 kB / 438.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.3249, allocations: 1.163 MB / 439.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007819/0.3257, allocations: 453.5 kB / 440.1 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005976/0.3263, allocations: 287.3 kB / 440.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3265, allocations: 305.1 kB / 440.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.3281, allocations: 0.7924 MB / 441.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.3301, allocations: 1.206 MB / 442.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004137/0.3343, allocations: 2.095 MB / 444.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/0.3344, allocations: 0 / 444.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00655/0.3409, allocations: 2.67 MB / 447.5 MB, free: 5.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.3411, allocations: 8 kB / 447.5 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.893e-05/0.3411, allocations: 16.33 kB / 447.5 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.3423, allocations: 415.1 kB / 447.9 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.3439, allocations: 363.4 kB / 448.3 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.279/0.623, allocations: 7.069 MB / 455.3 MB, free: 67.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.6249, allocations: 107.7 kB / 455.4 MB, free: 67.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.625, allocations: 62.98 kB / 455.5 MB, free: 67.31 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.001428/0.6264, allocations: 0.7936 MB / 456.3 MB, free: 67.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.6269, allocations: 185.3 kB / 456.5 MB, free: 67.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004221/0.6311, allocations: 2.368 MB / 458.8 MB, free: 66.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.6311, allocations: 17.3 kB / 458.8 MB, free: 66.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.6311, allocations: 4.344 kB / 458.9 MB, free: 66.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.6312, allocations: 6.094 kB / 458.9 MB, free: 66.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008299/0.6395, allocations: 5.094 MB / 464 MB, free: 64.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.6395, allocations: 8.031 kB / 464 MB, free: 64.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6405, allocations: 239 kB / 464.2 MB, free: 64.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.6417, allocations: 453 kB / 464.6 MB, free: 64.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-05/0.6418, allocations: 32.67 kB / 464.7 MB, free: 64.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006628/0.6484, allocations: 8.632 MB / 473.3 MB, free: 57.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.6485, allocations: 11.47 kB / 473.3 MB, free: 57.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/0.6535, allocations: 3.521 MB / 476.8 MB, free: 55.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.6548, allocations: 436.6 kB / 477.3 MB, free: 55.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/0.655, allocations: 35.86 kB / 477.3 MB, free: 55.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009185/0.656, allocations: 90.12 kB / 477.4 MB, free: 55.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/0.6563, allocations: 115.8 kB / 477.5 MB, free: 55.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/0.6564, allocations: 39.17 kB / 477.5 MB, free: 55.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00169/0.6581, allocations: 1.203 MB / 478.7 MB, free: 54.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6581, allocations: 1.094 kB / 478.7 MB, free: 54.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001798/0.6599, allocations: 0.505 MB / 479.2 MB, free: 54.57 MB / 382.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.0003579/0.6602, allocations: 195 kB / 479.4 MB, free: 54.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.6637, allocations: 2.466 MB / 481.9 MB, free: 53.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6637, allocations: 0 / 481.9 MB, free: 53.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002242/0.666, allocations: 1.621 MB / 483.5 MB, free: 51.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.6687, allocations: 487.2 kB / 484 MB, free: 51.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/0.6758, allocations: 5.002 MB / 489 MB, free: 46.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.6771, allocations: 2.005 MB / 491 MB, free: 44.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001276/0.6784, allocations: 439.5 kB / 491.4 MB, free: 43.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.6787, allocations: 131.4 kB / 491.6 MB, free: 43.69 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6787, allocations: 0 / 491.6 MB, free: 43.69 MB / 382.1 MB Notification: Performance of Templates: time 0.03993/0.7187, allocations: 28.23 MB / 0.5076 GB, free: 15.43 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)