Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001301/0.001301, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.683/1.683, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001379/0.001379, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3807, allocations: 46.64 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01787/0.3986, allocations: 11.42 MB / 336.7 MB, free: 8.465 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.4108, allocations: 3.906 MB / 340.7 MB, free: 4.547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005218/0.4161, allocations: 51.81 kB / 340.7 MB, free: 4.496 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004511/0.4207, allocations: 0.8346 MB / 341.5 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007208/0.428, allocations: 0.9394 MB / 342.5 MB, free: 2.711 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.4311, allocations: 0.5149 MB / 343 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007639/0.4387, allocations: 3.207 MB / 346.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005525/0.4443, allocations: 2.546 MB / 348.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.4483, allocations: 1.425 MB / 350.2 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004039/0.4523, allocations: 1.81 MB / 352 MB, free: 9.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.4534, allocations: 384 kB / 352.4 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.4552, allocations: 0.6245 MB / 353 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.4569, allocations: 1.075 MB / 354.1 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.4601, allocations: 1.723 MB / 355.8 MB, free: 5.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007442/0.4675, allocations: 4.977 MB / 360.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.4676, allocations: 0 / 360.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.4676, allocations: 0 / 360.8 MB, free: 332 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001812/0.4678, allocations: 4 kB / 360.8 MB, free: 328 kB / 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.01021/0.478, allocations: 3.48 MB / 364.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.4781, allocations: 11.89 kB / 364.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.4797, allocations: 409 kB / 364.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/0.4836, allocations: 1.718 MB / 366.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/0.4839, allocations: 201.3 kB / 366.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004396/0.4843, allocations: 251.8 kB / 366.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00622/0.4906, allocations: 3.251 MB / 370.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.047e-05/0.4906, allocations: 7.906 kB / 370.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.4909, allocations: 100 kB / 370.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.491, allocations: 112.9 kB / 370.3 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004887/0.4959, allocations: 2.705 MB / 373 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0195/0.5155, allocations: 10.36 MB / 383.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.518, allocations: 1.778 MB / 385.1 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.5199, allocations: 1.053 MB / 386.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003912/0.5203, allocations: 203.2 kB / 386.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/0.5204, allocations: 47.56 kB / 386.4 MB, free: 5.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 5.46e-06/0.5204, allocations: 3.938 kB / 386.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.0194/0.5398, allocations: 7.417 MB / 393.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.5399, allocations: 64.72 kB / 393.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003579/0.5435, allocations: 1.872 MB / 395.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.5437, allocations: 45.7 kB / 395.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.5447, allocations: 1.249 MB / 397.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004955/0.5452, allocations: 469.3 kB / 397.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005028/0.5457, allocations: 291.3 kB / 397.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5459, allocations: 301.1 kB / 398.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.5474, allocations: 0.8198 MB / 398.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.5493, allocations: 1.317 MB / 400.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.5529, allocations: 2.247 MB / 402.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.5529, allocations: 4 kB / 402.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005935/0.5589, allocations: 2.803 MB / 405.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.559, allocations: 12 kB / 405.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-05/0.559, allocations: 16 kB / 405.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.5603, allocations: 422.2 kB / 405.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.562, allocations: 399.3 kB / 406.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009426/0.5714, allocations: 5.784 MB / 411.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.5746, allocations: 123.8 kB / 412 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004487/0.5751, allocations: 75.98 kB / 412.1 MB, free: 11.3 MB / 350.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 (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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002845/0.5779, allocations: 0.7861 MB / 412.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/0.579, allocations: 197.6 kB / 413.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004867/0.5839, allocations: 2.368 MB / 415.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.909e-05/0.584, allocations: 23.98 kB / 415.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.584, allocations: 11.94 kB / 415.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/0.584, allocations: 12 kB / 415.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.5943, allocations: 5.286 MB / 420.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.5943, allocations: 4 kB / 420.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.5955, allocations: 251.6 kB / 421 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.5969, allocations: 466.3 kB / 421.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.597, allocations: 31.98 kB / 421.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008202/0.6052, allocations: 7.335 MB / 428.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.6052, allocations: 11.94 kB / 428.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006247/0.6115, allocations: 3.569 MB / 432.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.6127, allocations: 454.5 kB / 432.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.613, allocations: 35.92 kB / 432.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.6142, allocations: 103.9 kB / 433 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.6145, allocations: 112.7 kB / 433.1 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.6147, allocations: 47.98 kB / 433.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002493/0.6172, allocations: 1.291 MB / 434.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6172, allocations: 4 kB / 434.5 MB, free: 4.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002415/0.6196, allocations: 0.5391 MB / 435 MB, free: 3.629 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 (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,12,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.0005239/0.6201, allocations: 215.1 kB / 435.2 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006181/0.6263, allocations: 2.971 MB / 438.2 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/0.6263, allocations: 7.938 kB / 438.2 MB, free: 392 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00256/0.6289, allocations: 1.51 MB / 439.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.631, allocations: 454.2 kB / 440.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0094/0.6404, allocations: 5.163 MB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/0.6424, allocations: 2.01 MB / 447.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001741/0.6441, allocations: 427.7 kB / 447.7 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.6446, allocations: 135.4 kB / 447.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.6446, allocations: 3.938 kB / 447.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of Templates: time 0.3254/0.97, allocations: 27.99 MB / 475.9 MB, free: 98.55 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)