Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 108 kB / 15.61 MB, free: 152 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.001916/0.001916, allocations: 196 kB / 16.53 MB, free: 6.664 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.708/1.708, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.00166/0.00166, allocations: 60.39 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3443, allocations: 46.62 MB / 325.3 MB, free: 1.984 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01234/0.3567, allocations: 9.657 MB / 335 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.3636, allocations: 3.059 MB / 338 MB, free: 7.281 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.3655, allocations: 39.88 kB / 338.1 MB, free: 7.242 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.3674, allocations: 0.6286 MB / 338.7 MB, free: 6.609 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.3703, allocations: 0.7492 MB / 339.4 MB, free: 5.855 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009138/0.3713, allocations: 371.5 kB / 339.8 MB, free: 5.492 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.3743, allocations: 2.444 MB / 342.3 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.3765, allocations: 1.723 MB / 344 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.3782, allocations: 1.075 MB / 345 MB, free: 196 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.3803, allocations: 1.315 MB / 346.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004278/0.3807, allocations: 280 kB / 346.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/0.3815, allocations: 371.8 kB / 347 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007576/0.3822, allocations: 0.7753 MB / 347.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.3836, allocations: 1.268 MB / 349 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.3873, allocations: 3.602 MB / 352.6 MB, free: 8.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.3873, allocations: 4 kB / 352.6 MB, free: 8.566 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3873, allocations: 0 / 352.6 MB, free: 8.566 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.947e-05/0.3874, allocations: 0 / 352.6 MB, free: 8.566 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00623/0.3937, allocations: 2.579 MB / 355.2 MB, free: 5.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.3937, allocations: 11.89 kB / 355.2 MB, free: 5.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000859/0.3946, allocations: 262.1 kB / 355.5 MB, free: 5.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/0.3969, allocations: 1.26 MB / 356.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.397, allocations: 144.1 kB / 356.9 MB, free: 4.203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.3973, allocations: 200 kB / 357.1 MB, free: 4.008 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004429/0.4018, allocations: 2.419 MB / 359.5 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.669e-05/0.4019, allocations: 11.84 kB / 359.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.4021, allocations: 76 kB / 359.6 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.4022, allocations: 87.69 kB / 359.7 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003539/0.4057, allocations: 1.962 MB / 361.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01486/0.4206, allocations: 7.847 MB / 369.5 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.4228, allocations: 1.234 MB / 370.7 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.4246, allocations: 0.9333 MB / 371.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.4249, allocations: 126 kB / 371.8 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.425, allocations: 47.56 kB / 371.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 3.657e-06/0.425, allocations: 0 / 371.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01685/0.4418, allocations: 5.867 MB / 377.7 MB, free: 14.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.4419, allocations: 68.41 kB / 377.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003088/0.445, allocations: 1.309 MB / 379.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.4452, allocations: 45.7 kB / 379.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.4462, allocations: 0.9121 MB / 380 MB, free: 12.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/0.4468, allocations: 394.4 kB / 380.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006035/0.4474, allocations: 247.4 kB / 380.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.4476, allocations: 357.9 kB / 381 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.4492, allocations: 0.6403 MB / 381.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.4511, allocations: 1 MB / 382.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003505/0.4546, allocations: 1.731 MB / 384.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/0.4547, allocations: 4 kB / 384.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005727/0.4604, allocations: 2.249 MB / 386.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.4605, allocations: 16.31 kB / 386.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.4605, allocations: 8 kB / 386.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.4622, allocations: 495.9 kB / 387.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.4637, allocations: 299.5 kB / 387.4 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.4749, allocations: 7.132 MB / 394.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.4768, allocations: 79.98 kB / 394.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.477, allocations: 67.98 kB / 394.7 MB, free: 13.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001584/0.4786, allocations: 0.6104 MB / 395.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/0.479, allocations: 142.2 kB / 395.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.4829, allocations: 1.968 MB / 397.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.483, allocations: 15.98 kB / 397.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.483, allocations: 4 kB / 397.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.483, allocations: 11.91 kB / 397.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009093/0.4921, allocations: 4.125 MB / 401.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.4922, allocations: 4 kB / 401.6 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008859/0.4931, allocations: 187.7 kB / 401.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.4947, allocations: 0.5429 MB / 402.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.4949, allocations: 31.92 kB / 402.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009974/0.5049, allocations: 8.761 MB / 411.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.5049, allocations: 12.03 kB / 411.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004588/0.5095, allocations: 2.842 MB / 414 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009041/0.5105, allocations: 359.1 kB / 414.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.5107, allocations: 28.05 kB / 414.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/0.5114, allocations: 71.92 kB / 414.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.5117, allocations: 92.84 kB / 414.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.5118, allocations: 28 kB / 414.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001376/0.5132, allocations: 0.8917 MB / 415.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5132, allocations: 384 / 415.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001722/0.5149, allocations: 436 kB / 415.8 MB, free: 7.141 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.000422/0.5153, allocations: 187.6 kB / 416 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004369/0.5197, allocations: 2.571 MB / 418.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5197, allocations: 0.75 kB / 418.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.5219, allocations: 1.502 MB / 420.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.5242, allocations: 408.6 kB / 420.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009074/0.5333, allocations: 4.145 MB / 424.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.5347, allocations: 1.654 MB / 426.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001262/0.5359, allocations: 316.8 kB / 426.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.5362, allocations: 99.42 kB / 426.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5362, allocations: 3.938 kB / 426.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.04554/0.5818, allocations: 23.71 MB / 450.4 MB, free: 4.27 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)