Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001443/0.001443, allocations: 111.1 kB / 17.06 MB, free: 5.996 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.001652/0.001652, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.735/1.735, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001204/0.001204, allocations: 47.94 kB / 327.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1177, allocations: 46.62 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.2969/0.4147, allocations: 11.74 MB / 386.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.426, allocations: 3.984 MB / 390.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004337/0.4304, allocations: 56.56 kB / 390.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004314/0.4347, allocations: 0.8579 MB / 391.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.4402, allocations: 0.9788 MB / 392.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.4425, allocations: 0.5332 MB / 392.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00695/0.4495, allocations: 3.444 MB / 396.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004236/0.4538, allocations: 2.677 MB / 398.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004735/0.4585, allocations: 1.534 MB / 400.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006205/0.4648, allocations: 1.939 MB / 402.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002784/0.4676, allocations: 409.5 kB / 402.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004245/0.4719, allocations: 0.6432 MB / 403.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003032/0.4749, allocations: 1.142 MB / 404.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005703/0.4807, allocations: 1.839 MB / 406.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.4936, allocations: 5.392 MB / 411.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4937, allocations: 1.062 kB / 411.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4937, allocations: 0 / 411.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000269/0.494, allocations: 4 kB / 411.7 MB, free: 8.438 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.0134/0.5074, allocations: 3.795 MB / 415.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.749e-05/0.5075, allocations: 14.23 kB / 415.5 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.5094, allocations: 452.3 kB / 415.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/0.5147, allocations: 1.863 MB / 417.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.5149, allocations: 205.3 kB / 418 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005745/0.5155, allocations: 271.9 kB / 418.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007361/0.5228, allocations: 3.517 MB / 421.8 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.612e-05/0.523, allocations: 7.938 kB / 421.8 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/0.5233, allocations: 112.1 kB / 421.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.5234, allocations: 126.4 kB / 422 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006475/0.5299, allocations: 2.964 MB / 425 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02178/0.5517, allocations: 11 MB / 436 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/0.5553, allocations: 2.28 MB / 438.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.5574, allocations: 1.188 MB / 439.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004004/0.5578, allocations: 203.5 kB / 439.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.5579, allocations: 51.86 kB / 439.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.336e-06/0.5579, allocations: 4 kB / 439.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01993/0.5778, allocations: 7.533 MB / 447.2 MB, free: 5.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.5779, allocations: 72.66 kB / 447.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/0.5819, allocations: 1.975 MB / 449.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.582, allocations: 49.7 kB / 449.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.5835, allocations: 1.346 MB / 450.7 MB, free: 2.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006572/0.5841, allocations: 0.5384 MB / 451.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006758/0.5848, allocations: 327.4 kB / 451.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.585, allocations: 301.1 kB / 451.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.5867, allocations: 0.8823 MB / 452.7 MB, free: 392 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.5888, allocations: 1.376 MB / 454.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/0.5926, allocations: 2.378 MB / 456.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.5926, allocations: 4 kB / 456.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006144/0.5987, allocations: 2.983 MB / 459.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.5988, allocations: 15.94 kB / 459.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.5988, allocations: 19.98 kB / 459.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.6001, allocations: 466.5 kB / 459.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.6018, allocations: 431.3 kB / 460.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00798/0.6098, allocations: 6.097 MB / 466.4 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.6123, allocations: 127.8 kB / 466.6 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.6125, allocations: 75.98 kB / 466.6 MB, free: 1.688 MB / 382.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.002378/0.6149, allocations: 0.8485 MB / 467.5 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005662/0.6155, allocations: 222.6 kB / 467.7 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004924/0.6204, allocations: 2.583 MB / 470.3 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.812e-05/0.6205, allocations: 20 kB / 470.3 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.6205, allocations: 8 kB / 470.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.6205, allocations: 7.969 kB / 470.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.6317, allocations: 5.623 MB / 475.9 MB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.6318, allocations: 4 kB / 475.9 MB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.6331, allocations: 284.1 kB / 476.2 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/0.6347, allocations: 0.4906 MB / 476.7 MB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.6349, allocations: 35.98 kB / 476.8 MB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.6456, allocations: 7.681 MB / 484.4 MB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.6457, allocations: 4 kB / 484.4 MB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009742/0.6555, allocations: 3.856 MB / 488.3 MB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/0.6579, allocations: 491.5 kB / 488.8 MB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/0.6592, allocations: 39.98 kB / 488.8 MB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/0.6612, allocations: 103.8 kB / 488.9 MB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/0.6616, allocations: 121 kB / 489 MB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.6617, allocations: 43.98 kB / 489.1 MB, free: 10.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00259/0.6643, allocations: 1.363 MB / 490.4 MB, free: 9.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6643, allocations: 0 / 490.4 MB, free: 9.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003615/0.6679, allocations: 0.582 MB / 491 MB, free: 8.539 MB / 414.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.0007309/0.6687, allocations: 230 kB / 491.2 MB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005023/0.6737, allocations: 2.608 MB / 493.9 MB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.6738, allocations: 0 / 493.9 MB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003007/0.6768, allocations: 1.615 MB / 495.5 MB, free: 4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.6799, allocations: 0.4887 MB / 496 MB, free: 3.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.6931, allocations: 5.702 MB / 0.4899 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.6957, allocations: 2.139 MB / 0.492 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002199/0.6979, allocations: 469 kB / 0.4924 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.6984, allocations: 139.4 kB / 0.4926 GB, free: 10.95 MB / 430.1 MB Notification: Performance of SimCode: time 2.365e-06/0.6984, allocations: 0 / 0.4926 GB, free: 10.95 MB / 430.1 MB Notification: Performance of Templates: time 0.07477/0.7732, allocations: 31.48 MB / 0.5233 GB, free: 11.41 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)