Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008913/0.0008913, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007359/0.007359, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.803/1.803, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004881/0.0004881, allocations: 15.98 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3444, allocations: 47.58 MB / 327 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01061/0.355, allocations: 8.313 MB / 335.3 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007461/0.3625, allocations: 2.859 MB / 338.2 MB, free: 8.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.3645, allocations: 31.88 kB / 338.2 MB, free: 8.285 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.3666, allocations: 0.5338 MB / 338.8 MB, free: 7.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.3694, allocations: 0.6567 MB / 339.4 MB, free: 7.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007878/0.3702, allocations: 295.6 kB / 339.7 MB, free: 6.801 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003368/0.3736, allocations: 2.759 MB / 342.5 MB, free: 4.027 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.3754, allocations: 1.398 MB / 343.9 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.3768, allocations: 0.8206 MB / 344.7 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.3783, allocations: 1.167 MB / 345.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.3785, allocations: 123.9 kB / 346 MB, free: 480 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.379, allocations: 223.8 kB / 346.2 MB, free: 256 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006021/0.3796, allocations: 0.6112 MB / 346.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.3807, allocations: 1.086 MB / 347.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.3837, allocations: 3.457 MB / 351.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3837, allocations: 0 / 351.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3838, allocations: 0 / 351.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.499e-05/0.3838, allocations: 4 kB / 351.4 MB, free: 11.07 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004519/0.3883, allocations: 2.189 MB / 353.5 MB, free: 8.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.3884, allocations: 8.031 kB / 353.6 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006524/0.3891, allocations: 258.1 kB / 353.8 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.3911, allocations: 1.299 MB / 355.1 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.3913, allocations: 143.9 kB / 355.2 MB, free: 7.062 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.3915, allocations: 192 kB / 355.4 MB, free: 6.875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004188/0.3957, allocations: 2.402 MB / 357.8 MB, free: 4.438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-05/0.3958, allocations: 23.83 kB / 357.9 MB, free: 4.414 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.396, allocations: 72 kB / 357.9 MB, free: 4.344 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.395e-05/0.3961, allocations: 83.5 kB / 358 MB, free: 4.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003379/0.3995, allocations: 2.028 MB / 360 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.4115, allocations: 7.506 MB / 367.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.4135, allocations: 1.276 MB / 368.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.4152, allocations: 0.912 MB / 369.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.4154, allocations: 126.1 kB / 369.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.4155, allocations: 47.5 kB / 369.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.475e-06/0.4155, allocations: 3.938 kB / 369.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.01168/0.4272, allocations: 5.044 MB / 375 MB, free: 2.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.4273, allocations: 60.41 kB / 375 MB, free: 2.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.4297, allocations: 1.376 MB / 376.4 MB, free: 1.445 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.4299, allocations: 41.7 kB / 376.4 MB, free: 1.398 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007822/0.4306, allocations: 0.9047 MB / 377.3 MB, free: 492 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.431, allocations: 347 kB / 377.7 MB, free: 140 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.4312, allocations: 97.66 kB / 377.8 MB, free: 36 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.4314, allocations: 354 kB / 378.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.4325, allocations: 0.6428 MB / 378.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.4338, allocations: 0.9298 MB / 379.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.4363, allocations: 1.668 MB / 381.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.4363, allocations: 4 kB / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004407/0.4407, allocations: 2.399 MB / 383.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.4408, allocations: 11.98 kB / 383.8 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.4408, allocations: 8 kB / 383.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001995/0.4428, allocations: 0.7082 MB / 384.5 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/0.4438, allocations: 247.6 kB / 384.7 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.4547, allocations: 8.017 MB / 392.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.4563, allocations: 79.91 kB / 392.8 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.4564, allocations: 48 kB / 392.9 MB, free: 400 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.4578, allocations: 0.6262 MB / 393.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.4582, allocations: 154.2 kB / 393.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.4616, allocations: 1.909 MB / 395.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4616, allocations: 15.98 kB / 395.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.4616, allocations: 7.938 kB / 395.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4616, allocations: 7.984 kB / 395.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/0.4685, allocations: 4.021 MB / 399.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.4686, allocations: 0 / 399.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/0.4694, allocations: 195.9 kB / 399.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.4707, allocations: 462.9 kB / 400.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/0.4707, allocations: 27.98 kB / 400.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006382/0.4771, allocations: 6.156 MB / 406.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4772, allocations: 0 / 406.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004855/0.482, allocations: 2.798 MB / 409.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009874/0.4831, allocations: 355.3 kB / 409.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.4832, allocations: 35.92 kB / 409.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/0.484, allocations: 71.92 kB / 409.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.4843, allocations: 80.88 kB / 409.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.4844, allocations: 28 kB / 409.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001538/0.4859, allocations: 0.9582 MB / 410.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4859, allocations: 0 / 410.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001863/0.4878, allocations: 431.9 kB / 411.2 MB, free: 13.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0004383/0.4882, allocations: 187.3 kB / 411.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.4918, allocations: 2.016 MB / 413.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.4919, allocations: 4.188 kB / 413.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002277/0.4941, allocations: 1.359 MB / 414.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.4966, allocations: 360.5 kB / 415.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008273/0.5049, allocations: 4.984 MB / 420.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.5064, allocations: 1.689 MB / 421.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001187/0.5076, allocations: 316 kB / 422.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.5079, allocations: 95.42 kB / 422.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5079, allocations: 0 / 422.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Templates: time 0.0447/0.5526, allocations: 22.69 MB / 444.9 MB, free: 11.56 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)