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.001267/0.001267, allocations: 100.3 kB / 16.62 MB, free: 6.809 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.001278/0.001278, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.871/1.871, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.001348/0.001348, allocations: 55.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 46.62 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01446/0.131, allocations: 10.06 MB / 336.2 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008471/0.1395, allocations: 3.245 MB / 339.4 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.1421, allocations: 47.75 kB / 339.5 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.1449, allocations: 0.6099 MB / 340.1 MB, free: 6.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003701/0.1487, allocations: 0.7577 MB / 340.9 MB, free: 6.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1502, allocations: 363.7 kB / 341.2 MB, free: 5.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004547/0.1547, allocations: 2.957 MB / 344.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003744/0.1585, allocations: 2.449 MB / 346.6 MB, free: 172 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.1617, allocations: 1.347 MB / 348 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003804/0.1656, allocations: 1.74 MB / 349.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.167, allocations: 352 kB / 350.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.1689, allocations: 447.8 kB / 350.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.1706, allocations: 1.028 MB / 351.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00363/0.1743, allocations: 1.602 MB / 353.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008607/0.1829, allocations: 4.622 MB / 357.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1829, allocations: 0 / 357.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.183, allocations: 4 kB / 357.7 MB, free: 5.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002046/0.1832, allocations: 0 / 357.7 MB, free: 5.008 MB / 302.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.0122/0.1954, allocations: 3.264 MB / 361 MB, free: 1.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1954, allocations: 15.89 kB / 361 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.197, allocations: 329.2 kB / 361.3 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/0.2018, allocations: 1.632 MB / 363 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.202, allocations: 184.9 kB / 363.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007137/0.2027, allocations: 231.9 kB / 363.4 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008752/0.2115, allocations: 3.137 MB / 366.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.2116, allocations: 3.938 kB / 366.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004897/0.2121, allocations: 96 kB / 366.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/0.2123, allocations: 104.6 kB / 366.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006864/0.2192, allocations: 2.692 MB / 369.4 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2845/0.5037, allocations: 9.735 MB / 379.2 MB, free: 49.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/0.5078, allocations: 2.166 MB / 381.3 MB, free: 48.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/0.5101, allocations: 1.117 MB / 382.4 MB, free: 48.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/0.5105, allocations: 204.9 kB / 382.6 MB, free: 48.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.5105, allocations: 44.41 kB / 382.7 MB, free: 48.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.467e-06/0.5106, allocations: 2.406 kB / 382.7 MB, free: 48.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01683/0.5274, allocations: 6.7 MB / 389.4 MB, free: 45.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.5275, allocations: 67.25 kB / 389.4 MB, free: 45.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004265/0.5317, allocations: 1.742 MB / 391.2 MB, free: 44.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003173/0.5321, allocations: 45.67 kB / 391.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009088/0.533, allocations: 1.16 MB / 392.4 MB, free: 44 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005314/0.5336, allocations: 449.7 kB / 392.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000546/0.5341, allocations: 284.4 kB / 393.1 MB, free: 43.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.5342, allocations: 308.7 kB / 393.4 MB, free: 43.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.5357, allocations: 0.7886 MB / 394.2 MB, free: 42.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.5373, allocations: 1.208 MB / 395.4 MB, free: 42.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.5398, allocations: 2.098 MB / 397.5 MB, free: 40.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.5399, allocations: 7.656 kB / 397.5 MB, free: 40.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004765/0.5446, allocations: 2.667 MB / 400.2 MB, free: 39.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.5447, allocations: 11.53 kB / 400.2 MB, free: 39.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.5447, allocations: 11.72 kB / 400.2 MB, free: 39.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009651/0.5457, allocations: 422.4 kB / 400.6 MB, free: 39.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.5472, allocations: 361.2 kB / 401 MB, free: 39.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/0.5531, allocations: 7.074 MB / 408 MB, free: 32.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.5551, allocations: 103.8 kB / 408.1 MB, free: 32.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.5553, allocations: 63.98 kB / 408.2 MB, free: 32.71 MB / 318.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.002174/0.5575, allocations: 0.794 MB / 409 MB, free: 31.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007185/0.5583, allocations: 189.7 kB / 409.2 MB, free: 31.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.5622, allocations: 2.373 MB / 411.6 MB, free: 29.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.5623, allocations: 12 kB / 411.6 MB, free: 29.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.5623, allocations: 7.938 kB / 411.6 MB, free: 29.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.5623, allocations: 6.797 kB / 411.6 MB, free: 29.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009024/0.5714, allocations: 5.121 MB / 416.7 MB, free: 24.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.5714, allocations: 4 kB / 416.7 MB, free: 24.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.5724, allocations: 236.1 kB / 416.9 MB, free: 23.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.5736, allocations: 455.7 kB / 417.4 MB, free: 23.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.5737, allocations: 35.98 kB / 417.4 MB, free: 23.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00689/0.5806, allocations: 8.638 MB / 426.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5807, allocations: 7.5 kB / 426.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005852/0.5865, allocations: 3.52 MB / 429.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.588, allocations: 430.7 kB / 430 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00044/0.5884, allocations: 36 kB / 430 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.5895, allocations: 87.89 kB / 430.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/0.5899, allocations: 120.7 kB / 430.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/0.59, allocations: 39.98 kB / 430.3 MB, free: 9.824 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.5916, allocations: 1.194 MB / 431.5 MB, free: 8.637 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5916, allocations: 0 / 431.5 MB, free: 8.637 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00262/0.5942, allocations: 0.5078 MB / 432 MB, free: 8.129 MB / 318.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.0005215/0.5948, allocations: 201.3 kB / 432.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005173/0.6, allocations: 3.09 MB / 435.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.6, allocations: 4.25 kB / 435.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.6021, allocations: 1.619 MB / 436.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.6047, allocations: 488.6 kB / 437.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/0.6137, allocations: 6.087 MB / 443.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/0.6158, allocations: 2.008 MB / 445.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001704/0.6176, allocations: 447.5 kB / 445.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.618, allocations: 123.4 kB / 446 MB, free: 9.902 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.618, allocations: 0.5469 kB / 446 MB, free: 9.902 MB / 334.1 MB Notification: Performance of Templates: time 0.05796/0.676, allocations: 27.61 MB / 473.6 MB, free: 14.29 MB / 366.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)