Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001004/0.001004, allocations: 97.41 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.01042/0.01042, allocations: 169.5 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.934/1.934, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.0005567/0.0005578, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.334, allocations: 47.58 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01136/0.3454, allocations: 8.316 MB / 335.4 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008062/0.3536, allocations: 2.852 MB / 338.2 MB, free: 8.152 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.356, allocations: 31.88 kB / 338.2 MB, free: 8.121 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.3583, allocations: 0.5375 MB / 338.8 MB, free: 7.582 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.3619, allocations: 0.6567 MB / 339.4 MB, free: 6.922 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3633, allocations: 291.6 kB / 339.7 MB, free: 6.637 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004961/0.3683, allocations: 2.759 MB / 342.5 MB, free: 3.863 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.3709, allocations: 1.401 MB / 343.9 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.3731, allocations: 0.8167 MB / 344.7 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.3753, allocations: 1.163 MB / 345.9 MB, free: 440 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003629/0.3757, allocations: 128 kB / 346 MB, free: 312 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009549/0.3767, allocations: 227.8 kB / 346.2 MB, free: 84 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008473/0.3775, allocations: 0.6073 MB / 346.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.3793, allocations: 1.086 MB / 347.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00476/0.384, allocations: 3.457 MB / 351.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3841, allocations: 4 kB / 351.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3841, allocations: 0 / 351.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000106/0.3842, allocations: 0 / 351.4 MB, free: 10.9 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.005615/0.3898, allocations: 2.189 MB / 353.5 MB, free: 8.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.3899, allocations: 8.031 kB / 353.6 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.391, allocations: 258.1 kB / 353.8 MB, free: 8.395 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.3939, allocations: 1.303 MB / 355.1 MB, free: 7.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.3941, allocations: 143.9 kB / 355.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004279/0.3946, allocations: 184 kB / 355.4 MB, free: 6.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00489/0.3994, allocations: 2.413 MB / 357.8 MB, free: 4.266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.792e-05/0.3996, allocations: 11.91 kB / 357.9 MB, free: 4.254 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.3997, allocations: 72 kB / 357.9 MB, free: 4.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.3999, allocations: 87.48 kB / 358 MB, free: 4.098 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004268/0.4041, allocations: 2.028 MB / 360 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.4191, allocations: 7.502 MB / 367.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.4212, allocations: 1.283 MB / 368.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.423, allocations: 0.9159 MB / 369.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.4233, allocations: 122.1 kB / 369.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.4234, allocations: 43.56 kB / 369.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.617e-06/0.4234, allocations: 0 / 369.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.0106/0.434, allocations: 5.044 MB / 374.9 MB, free: 2.738 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4341, allocations: 68.34 kB / 375 MB, free: 2.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.4365, allocations: 1.369 MB / 376.4 MB, free: 1.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.4366, allocations: 41.7 kB / 376.4 MB, free: 1.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007487/0.4374, allocations: 0.9008 MB / 377.3 MB, free: 332 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000413/0.4378, allocations: 351 kB / 377.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.438, allocations: 97.66 kB / 377.8 MB, free: 15.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4381, allocations: 353.9 kB / 378.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.4392, allocations: 0.6389 MB / 378.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.4404, allocations: 0.9376 MB / 379.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.4428, allocations: 1.664 MB / 381.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.4429, allocations: 4 kB / 381.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004769/0.4476, allocations: 2.407 MB / 383.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.4477, allocations: 8 kB / 383.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.4477, allocations: 8 kB / 383.8 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.4497, allocations: 0.7121 MB / 384.5 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.4507, allocations: 239.6 kB / 384.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.4615, allocations: 8.025 MB / 392.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.4632, allocations: 79.91 kB / 392.8 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.4633, allocations: 51.98 kB / 392.9 MB, free: 224 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.001501/0.4648, allocations: 0.6263 MB / 393.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/0.4653, allocations: 146.2 kB / 393.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.4688, allocations: 1.913 MB / 395.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.4689, allocations: 16 kB / 395.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.4689, allocations: 3.938 kB / 395.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.4689, allocations: 7.984 kB / 395.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007488/0.4764, allocations: 4.029 MB / 399.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.4765, allocations: 0 / 399.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.4773, allocations: 188 kB / 399.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.4787, allocations: 466.9 kB / 400.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.4788, allocations: 27.98 kB / 400.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006661/0.4854, allocations: 6.156 MB / 406.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4855, allocations: 48 / 406.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/0.4905, allocations: 2.802 MB / 409.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.4916, allocations: 359.3 kB / 409.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.4918, allocations: 27.94 kB / 409.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000762/0.4926, allocations: 71.92 kB / 409.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/0.4929, allocations: 84.88 kB / 409.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/0.493, allocations: 27.98 kB / 409.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001598/0.4946, allocations: 0.9543 MB / 410.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.4946, allocations: 0 / 410.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001677/0.4963, allocations: 428 kB / 411.2 MB, free: 13.31 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.000475/0.4968, allocations: 183 kB / 411.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003842/0.5006, allocations: 2.02 MB / 413.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5007, allocations: 0 / 413.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.5029, allocations: 1.355 MB / 414.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.5057, allocations: 372.9 kB / 415.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007888/0.5136, allocations: 4.984 MB / 420.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/0.5154, allocations: 1.689 MB / 421.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001332/0.5168, allocations: 316 kB / 422.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.5171, allocations: 95.42 kB / 422.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of SimCode: time 1.472e-06/0.5171, allocations: 0 / 422.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Templates: time 0.04602/0.5631, allocations: 22.69 MB / 444.9 MB, free: 11.4 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)