Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008306, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.0009907/0.0009905, allocations: 183 kB / 17.21 MB, free: 6.316 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.745/1.745, allocations: 205.4 MB / 223.4 MB, free: 5.281 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.0008361/0.0008367, allocations: 16 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3888, allocations: 47.59 MB / 327.7 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01302/0.4019, allocations: 10.09 MB / 337.8 MB, free: 9.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.4122, allocations: 3.687 MB / 341.5 MB, free: 5.656 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003163/0.4154, allocations: 51.75 kB / 341.6 MB, free: 5.605 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.4181, allocations: 0.6838 MB / 342.3 MB, free: 4.918 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0044/0.4225, allocations: 0.7962 MB / 343.1 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.4241, allocations: 335.5 kB / 343.4 MB, free: 3.789 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005741/0.4299, allocations: 3.257 MB / 346.6 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003025/0.4329, allocations: 1.686 MB / 348.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.4363, allocations: 1.078 MB / 349.4 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003399/0.4397, allocations: 1.486 MB / 350.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004746/0.4402, allocations: 164 kB / 351.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.4415, allocations: 355.7 kB / 351.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009335/0.4424, allocations: 0.7982 MB / 352.2 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.4435, allocations: 0.5861 MB / 352.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004991/0.4485, allocations: 4.028 MB / 356.8 MB, free: 6.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4485, allocations: 0 / 356.8 MB, free: 6.285 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4485, allocations: 0 / 356.8 MB, free: 6.285 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001547/0.4487, allocations: 0 / 356.8 MB, free: 6.285 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.007916/0.4566, allocations: 2.989 MB / 359.8 MB, free: 3.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.018e-05/0.4567, allocations: 8.031 kB / 359.8 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.4584, allocations: 412.1 kB / 360.2 MB, free: 2.816 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/0.4617, allocations: 1.652 MB / 361.9 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.4619, allocations: 201 kB / 362.1 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.4623, allocations: 243.9 kB / 362.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006287/0.4686, allocations: 3.247 MB / 365.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.416e-05/0.4687, allocations: 15.8 kB / 365.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.4689, allocations: 103.9 kB / 365.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.4691, allocations: 116.9 kB / 365.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00489/0.474, allocations: 2.709 MB / 368.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01976/0.4938, allocations: 10.43 MB / 378.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/0.4965, allocations: 1.784 MB / 380.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.4985, allocations: 1.061 MB / 381.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004225/0.499, allocations: 203.2 kB / 382 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/0.4991, allocations: 51.55 kB / 382 MB, free: 12.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 4.999e-06/0.4991, allocations: 0 / 382 MB, free: 12.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02127/0.5204, allocations: 7.749 MB / 389.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.5205, allocations: 68.72 kB / 389.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005227/0.5257, allocations: 1.853 MB / 391.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.5259, allocations: 49.7 kB / 391.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.5272, allocations: 1.249 MB / 393 MB, free: 1.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005855/0.5278, allocations: 473.2 kB / 393.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.528, allocations: 28 kB / 393.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.5282, allocations: 377.8 kB / 393.8 MB, free: 380 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.5299, allocations: 0.8198 MB / 394.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.5321, allocations: 1.34 MB / 396 MB, free: 14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.5341, allocations: 1.017 MB / 397 MB, free: 12.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/0.5341, allocations: 4 kB / 397 MB, free: 12.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005999/0.5401, allocations: 2.81 MB / 399.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.5402, allocations: 12 kB / 399.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.193e-05/0.5402, allocations: 16 kB / 399.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.5415, allocations: 418.5 kB / 400.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.5431, allocations: 407.3 kB / 400.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007386/0.5505, allocations: 5.289 MB / 405.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.5529, allocations: 135.7 kB / 406.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.5531, allocations: 75.98 kB / 406.2 MB, free: 3.512 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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%) 12,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002542/0.5557, allocations: 0.7901 MB / 406.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/0.5568, allocations: 193.7 kB / 407.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/0.5625, allocations: 2.41 MB / 409.5 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/0.5626, allocations: 20 kB / 409.6 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.5626, allocations: 4 kB / 409.6 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.5626, allocations: 7.969 kB / 409.6 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.5756, allocations: 5.302 MB / 414.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.5756, allocations: 12.02 kB / 414.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.5767, allocations: 263.6 kB / 415.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.5781, allocations: 458.3 kB / 415.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.5782, allocations: 39.98 kB / 415.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007958/0.5862, allocations: 6.718 MB / 422.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.5862, allocations: 11.94 kB / 422.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007169/0.5934, allocations: 3.62 MB / 426 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/0.5951, allocations: 454.7 kB / 426.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007952/0.5959, allocations: 39.98 kB / 426.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.5975, allocations: 115.8 kB / 426.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/0.5978, allocations: 108.8 kB / 426.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.5979, allocations: 43.98 kB / 426.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002734/0.6007, allocations: 1.279 MB / 428 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6007, allocations: 4 kB / 428 MB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002906/0.6036, allocations: 0.5391 MB / 428.5 MB, free: 12.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 111 * 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%) 12,(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.0005752/0.6042, allocations: 182.8 kB / 428.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004667/0.6089, allocations: 2.432 MB / 431.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/0.6089, allocations: 4 kB / 431.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002796/0.6117, allocations: 1.522 MB / 432.7 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/0.6151, allocations: 450.3 kB / 433.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.629, allocations: 6.092 MB / 439.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/0.6311, allocations: 2.006 MB / 441.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001772/0.6329, allocations: 427.7 kB / 441.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/0.6333, allocations: 131.4 kB / 441.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6333, allocations: 0 / 441.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of Templates: time 0.2644/0.8977, allocations: 25.73 MB / 467.5 MB, free: 105.3 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)