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.008731/0.00873, allocations: 99.05 kB / 15.73 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.001514/0.001514, allocations: 196 kB / 16.68 MB, free: 5.934 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.959/1.959, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001324/0.001324, allocations: 59 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.0137/0.1243, allocations: 10.13 MB / 383.3 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008813/0.1332, allocations: 3.276 MB / 386.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.1363, allocations: 55.75 kB / 386.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.1392, allocations: 0.7337 MB / 387.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004369/0.1436, allocations: 0.8855 MB / 388.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.1453, allocations: 403.4 kB / 388.7 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005464/0.1508, allocations: 2.981 MB / 391.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004299/0.1551, allocations: 2.441 MB / 394.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003199/0.1584, allocations: 1.351 MB / 395.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003473/0.1619, allocations: 1.697 MB / 397.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.1634, allocations: 356 kB / 397.5 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.1653, allocations: 455.7 kB / 397.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001897/0.1672, allocations: 1.013 MB / 398.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003816/0.171, allocations: 1.606 MB / 400.5 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006719/0.1778, allocations: 4.677 MB / 405.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1778, allocations: 0 / 405.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1778, allocations: 0 / 405.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001205/0.1779, allocations: 0 / 405.2 MB, free: 1.086 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.009063/0.187, allocations: 3.26 MB / 408.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.608e-05/0.1871, allocations: 19.89 kB / 408.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.1886, allocations: 325.2 kB / 408.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/0.1927, allocations: 1.659 MB / 410.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.1929, allocations: 180.8 kB / 410.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006709/0.1936, allocations: 228 kB / 410.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007908/0.2015, allocations: 3.137 MB / 414 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.2017, allocations: 3.906 kB / 414 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000377/0.2021, allocations: 100 kB / 414.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.2022, allocations: 108.6 kB / 414.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006683/0.2089, allocations: 2.692 MB / 416.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02177/0.2307, allocations: 9.626 MB / 426.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/0.2342, allocations: 2.157 MB / 428.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.2363, allocations: 1.113 MB / 429.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/0.2367, allocations: 211.2 kB / 430 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.2368, allocations: 43.56 kB / 430.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.126e-06/0.2368, allocations: 0 / 430.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01546/0.2522, allocations: 6.713 MB / 436.8 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2523, allocations: 68.7 kB / 436.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/0.2559, allocations: 1.743 MB / 438.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002406/0.2562, allocations: 45.7 kB / 438.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.2573, allocations: 1.155 MB / 439.8 MB, free: 13.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006139/0.2579, allocations: 453.5 kB / 440.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006352/0.2585, allocations: 287.3 kB / 440.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2587, allocations: 309 kB / 440.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.2602, allocations: 0.7963 MB / 441.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.2622, allocations: 1.206 MB / 442.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/0.2656, allocations: 2.091 MB / 444.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-05/0.2656, allocations: 4 kB / 444.9 MB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005712/0.2713, allocations: 2.667 MB / 447.6 MB, free: 5.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.2714, allocations: 12 kB / 447.6 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/0.2715, allocations: 12 kB / 447.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.2725, allocations: 423.5 kB / 448 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.274, allocations: 359.5 kB / 448.3 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3112/0.5851, allocations: 7.057 MB / 455.4 MB, free: 67.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.587, allocations: 109.8 kB / 455.5 MB, free: 67.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003371/0.5874, allocations: 61.25 kB / 455.6 MB, free: 67.04 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.00202/0.5894, allocations: 0.7926 MB / 456.4 MB, free: 66.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007435/0.5902, allocations: 192 kB / 456.6 MB, free: 66.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00577/0.5959, allocations: 2.368 MB / 458.9 MB, free: 66.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.596, allocations: 16.25 kB / 458.9 MB, free: 66.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.957e-05/0.596, allocations: 4.594 kB / 458.9 MB, free: 66.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-05/0.5961, allocations: 8.625 kB / 459 MB, free: 66.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/0.6102, allocations: 5.089 MB / 464 MB, free: 64.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/0.6103, allocations: 3.719 kB / 464 MB, free: 64.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.6115, allocations: 242 kB / 464.3 MB, free: 64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.6127, allocations: 456.3 kB / 464.7 MB, free: 63.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.6129, allocations: 34.78 kB / 464.8 MB, free: 63.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00804/0.6209, allocations: 8.633 MB / 473.4 MB, free: 56.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-05/0.6211, allocations: 8.875 kB / 473.4 MB, free: 56.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006021/0.6271, allocations: 3.528 MB / 476.9 MB, free: 55.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.6287, allocations: 433.6 kB / 477.4 MB, free: 55.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006632/0.6293, allocations: 39.2 kB / 477.4 MB, free: 55.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.6307, allocations: 81.72 kB / 477.5 MB, free: 54.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/0.6311, allocations: 120.7 kB / 477.6 MB, free: 54.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.6312, allocations: 40.2 kB / 477.6 MB, free: 54.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002653/0.6339, allocations: 1.206 MB / 478.8 MB, free: 54.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.6339, allocations: 0 / 478.8 MB, free: 54.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002793/0.6367, allocations: 0.5029 MB / 479.3 MB, free: 54.23 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.0005661/0.6373, allocations: 193.6 kB / 479.5 MB, free: 54.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004138/0.6414, allocations: 2.467 MB / 482 MB, free: 52.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.6415, allocations: 2.25 kB / 482 MB, free: 52.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002441/0.6439, allocations: 1.616 MB / 483.6 MB, free: 51.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/0.647, allocations: 486.9 kB / 484.1 MB, free: 51.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009642/0.6567, allocations: 4.999 MB / 489.1 MB, free: 46.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/0.6589, allocations: 2.009 MB / 491.1 MB, free: 44.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001658/0.6605, allocations: 443.4 kB / 491.5 MB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/0.6612, allocations: 123.4 kB / 491.6 MB, free: 43.57 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6612, allocations: 4 kB / 491.7 MB, free: 43.57 MB / 382.1 MB Notification: Performance of Templates: time 0.05313/0.7143, allocations: 28.23 MB / 0.5077 GB, free: 15.32 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)