Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008952/0.0008954, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009755/0.0009756, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.0005077/0.0005079, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3769, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01504/0.392, allocations: 10.41 MB / 336.9 MB, free: 9.078 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.4034, allocations: 3.757 MB / 340.6 MB, free: 5.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.4067, allocations: 47.75 kB / 340.7 MB, free: 5.266 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003296/0.41, allocations: 0.6953 MB / 341.4 MB, free: 4.566 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.4148, allocations: 0.835 MB / 342.2 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.4167, allocations: 343.5 kB / 342.6 MB, free: 3.391 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006208/0.4229, allocations: 3.503 MB / 346.1 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.4259, allocations: 1.797 MB / 347.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.4288, allocations: 1.156 MB / 349 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/0.4315, allocations: 1.584 MB / 350.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004581/0.432, allocations: 176 kB / 350.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.4331, allocations: 371.6 kB / 351.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.4342, allocations: 0.8644 MB / 352 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.4355, allocations: 0.6212 MB / 352.6 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005794/0.4413, allocations: 4.266 MB / 356.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.4413, allocations: 0 / 356.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.209e-06/0.4414, allocations: 0 / 356.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002287/0.4416, allocations: 0 / 356.9 MB, free: 4.984 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.00952/0.4511, allocations: 3.185 MB / 360.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.4512, allocations: 8.031 kB / 360.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.4529, allocations: 443.7 kB / 360.5 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003972/0.4569, allocations: 1.774 MB / 362.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.4572, allocations: 213.4 kB / 362.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004902/0.4577, allocations: 260 kB / 362.7 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007738/0.4655, allocations: 3.521 MB / 366.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.744e-05/0.4656, allocations: 15.89 kB / 366.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/0.4658, allocations: 112 kB / 366.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.466, allocations: 121.2 kB / 366.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006474/0.4725, allocations: 2.976 MB / 369.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/0.4967, allocations: 11.16 MB / 380.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.5001, allocations: 2.292 MB / 382.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.5023, allocations: 1.203 MB / 384.1 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003576/0.5027, allocations: 219.4 kB / 384.3 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.5028, allocations: 51.83 kB / 384.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.997e-06/0.5028, allocations: 0 / 384.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01942/0.5222, allocations: 7.615 MB / 392 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.5224, allocations: 68.72 kB / 392.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004493/0.5269, allocations: 1.963 MB / 394 MB, free: 14.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.527, allocations: 49.7 kB / 394.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.5283, allocations: 1.312 MB / 395.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006137/0.5289, allocations: 0.5045 MB / 395.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.5291, allocations: 36 kB / 395.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002992/0.5294, allocations: 369.9 kB / 396.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.5312, allocations: 0.894 MB / 397.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.5335, allocations: 1.384 MB / 398.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.5358, allocations: 1.099 MB / 399.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/0.5358, allocations: 4 kB / 399.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006613/0.5425, allocations: 2.997 MB / 402.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.5425, allocations: 12 kB / 402.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-05/0.5426, allocations: 16 kB / 402.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.5439, allocations: 462.5 kB / 403.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.5456, allocations: 443.3 kB / 403.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007701/0.5533, allocations: 5.579 MB / 409.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/0.5559, allocations: 127.9 kB / 409.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004432/0.5563, allocations: 79.98 kB / 409.4 MB, free: 14.96 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 16,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002783/0.5591, allocations: 0.8524 MB / 410.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/0.5603, allocations: 209.5 kB / 410.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006351/0.5666, allocations: 2.615 MB / 413 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.901e-05/0.5667, allocations: 16 kB / 413.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.642e-05/0.5667, allocations: 4 kB / 413.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.5667, allocations: 7.969 kB / 413.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.5804, allocations: 5.661 MB / 418.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.5804, allocations: 12.41 kB / 418.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.5817, allocations: 291.6 kB / 419 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.5834, allocations: 0.498 MB / 419.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.5836, allocations: 39.98 kB / 419.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008484/0.5921, allocations: 7.035 MB / 426.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.5922, allocations: 4 kB / 426.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00762/0.5998, allocations: 3.885 MB / 430.5 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/0.6015, allocations: 482.3 kB / 431 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007291/0.6023, allocations: 35.98 kB / 431 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.6039, allocations: 111.9 kB / 431.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/0.6042, allocations: 125.1 kB / 431.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6044, allocations: 47.98 kB / 431.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00287/0.6072, allocations: 1.34 MB / 432.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6073, allocations: 8 kB / 432.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003101/0.6104, allocations: 0.5859 MB / 433.2 MB, free: 6.363 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000526/0.6109, allocations: 190.3 kB / 433.4 MB, free: 6.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00497/0.6159, allocations: 2.616 MB / 436 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6159, allocations: 0 / 436 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002885/0.6188, allocations: 1.624 MB / 437.6 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004009/0.6228, allocations: 478.5 kB / 438.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.6368, allocations: 6.684 MB / 444.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003328/0.6401, allocations: 2.136 MB / 446.9 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002294/0.6424, allocations: 469 kB / 447.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007381/0.6432, allocations: 135.4 kB / 447.5 MB, free: 7.852 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.6432, allocations: 0 / 447.5 MB, free: 7.852 MB / 382.1 MB Notification: Performance of Templates: time 0.2853/0.9285, allocations: 28.41 MB / 475.9 MB, free: 99.1 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)