Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001167, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001259/0.001259, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.765/1.765, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001496/0.001496, allocations: 52.2 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4669/0.4684, allocations: 46.62 MB / 324.9 MB, free: 2.07 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.02923/0.4978, allocations: 11.66 MB / 336.5 MB, free: 8.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.5158, allocations: 3.907 MB / 340.4 MB, free: 4.602 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005976/0.522, allocations: 55.69 kB / 340.5 MB, free: 4.547 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006174/0.5282, allocations: 0.7538 MB / 341.2 MB, free: 3.789 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.5387, allocations: 0.8858 MB / 342.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.5423, allocations: 483.4 kB / 342.6 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.5528, allocations: 3.44 MB / 346 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008081/0.5609, allocations: 2.673 MB / 348.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005551/0.5665, allocations: 1.546 MB / 350.2 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007014/0.5735, allocations: 1.973 MB / 352.2 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002598/0.5762, allocations: 408 kB / 352.6 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004433/0.5807, allocations: 0.644 MB / 353.3 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.5845, allocations: 1.149 MB / 354.4 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007698/0.5923, allocations: 1.843 MB / 356.2 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.6062, allocations: 5.308 MB / 361.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.6063, allocations: 0 / 361.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6063, allocations: 0 / 361.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002751/0.6066, allocations: 4 kB / 361.6 MB, free: 15.33 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01988/0.6265, allocations: 3.707 MB / 365.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.237e-05/0.6266, allocations: 11.89 kB / 365.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.6298, allocations: 436.7 kB / 365.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007622/0.6374, allocations: 1.829 MB / 367.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005582/0.638, allocations: 209.3 kB / 367.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.6397, allocations: 275.8 kB / 368 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.6566, allocations: 3.521 MB / 371.5 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/0.6569, allocations: 11.89 kB / 371.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001085/0.658, allocations: 104 kB / 371.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002829/0.6583, allocations: 121.3 kB / 371.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009662/0.668, allocations: 2.964 MB / 374.7 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03128/0.6994, allocations: 11.1 MB / 385.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/0.7034, allocations: 2.284 MB / 388.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.7063, allocations: 1.176 MB / 389.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.7068, allocations: 211.4 kB / 389.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/0.7068, allocations: 51.88 kB / 389.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.968e-06/0.7069, allocations: 0 / 389.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.02088/0.7277, allocations: 7.486 MB / 397 MB, free: 10.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.7279, allocations: 76.66 kB / 397.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005728/0.7337, allocations: 1.975 MB / 399.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004041/0.7341, allocations: 53.7 kB / 399.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.7356, allocations: 1.304 MB / 400.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000977/0.7366, allocations: 0.5044 MB / 400.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009695/0.7376, allocations: 331.2 kB / 401.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7378, allocations: 301.1 kB / 401.6 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.7397, allocations: 0.8823 MB / 402.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/0.7418, allocations: 1.368 MB / 403.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.7459, allocations: 2.382 MB / 406.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.755e-05/0.746, allocations: 4 kB / 406.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007094/0.7531, allocations: 2.982 MB / 409.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.7532, allocations: 8 kB / 409.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.555e-05/0.7532, allocations: 16 kB / 409.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.7547, allocations: 474.2 kB / 409.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.7565, allocations: 435.3 kB / 410.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008536/0.765, allocations: 6.104 MB / 416.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/0.7679, allocations: 123.8 kB / 416.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004699/0.7684, allocations: 75.98 kB / 416.4 MB, free: 6.742 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002996/0.7714, allocations: 0.8485 MB / 417.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/0.7725, allocations: 213.4 kB / 417.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006177/0.7787, allocations: 2.579 MB / 420 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001426/0.7788, allocations: 16 kB / 420 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/0.7789, allocations: 4 kB / 420 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/0.7789, allocations: 7.969 kB / 420 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.793, allocations: 5.641 MB / 425.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/0.7931, allocations: 7.984 kB / 425.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.7943, allocations: 284 kB / 426 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/0.7959, allocations: 0.4907 MB / 426.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.7961, allocations: 35.98 kB / 426.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008954/0.805, allocations: 7.694 MB / 434.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.8051, allocations: 4 kB / 434.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007599/0.8127, allocations: 3.842 MB / 438 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.8143, allocations: 482.4 kB / 438.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009006/0.8152, allocations: 39.98 kB / 438.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/0.8173, allocations: 95.89 kB / 438.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004751/0.8178, allocations: 121 kB / 438.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/0.818, allocations: 47.98 kB / 438.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004186/0.8222, allocations: 1.363 MB / 440.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.8222, allocations: 0 / 440.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003719/0.8259, allocations: 0.582 MB / 440.8 MB, free: 13.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,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.000781/0.8267, allocations: 215 kB / 441 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007492/0.8342, allocations: 3.35 MB / 444.3 MB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.8342, allocations: 4 kB / 444.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003382/0.8376, allocations: 1.616 MB / 445.9 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004942/0.8426, allocations: 0.4944 MB / 446.4 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.8588, allocations: 6.852 MB / 453.3 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.313/1.172, allocations: 2.136 MB / 455.4 MB, free: 110.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004635/1.177, allocations: 470.6 kB / 455.9 MB, free: 110.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/1.178, allocations: 138.3 kB / 456 MB, free: 110.9 MB / 382.1 MB Notification: Performance of SimCode: time 3.016e-06/1.178, allocations: 0 / 456 MB, free: 110.9 MB / 382.1 MB Notification: Performance of Templates: time 0.08015/1.258, allocations: 30.78 MB / 486.8 MB, free: 88.63 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)