Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.00133/0.001331, allocations: 104.9 kB / 16.62 MB, free: 6.812 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.001239/0.001239, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.935/1.935, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.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.001259/0.001259, allocations: 47.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1181, allocations: 46.62 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01003/0.1281, allocations: 8.819 MB / 335 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005952/0.1342, allocations: 2.868 MB / 337.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.1358, allocations: 35.81 kB / 337.9 MB, free: 9.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.1378, allocations: 0.5403 MB / 338.4 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.1403, allocations: 0.6606 MB / 339.1 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.1411, allocations: 291.7 kB / 339.4 MB, free: 7.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003009/0.1442, allocations: 2.393 MB / 341.7 MB, free: 5.105 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.1461, allocations: 1.714 MB / 343.5 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.1481, allocations: 1.063 MB / 344.5 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.1499, allocations: 1.378 MB / 345.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003444/0.1502, allocations: 280 kB / 346.2 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006634/0.1509, allocations: 367.8 kB / 346.5 MB, free: 272 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007239/0.1516, allocations: 0.7986 MB / 347.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.1529, allocations: 1.256 MB / 348.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003712/0.1566, allocations: 3.645 MB / 352.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1567, allocations: 0 / 352.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1567, allocations: 0 / 352.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.302e-05/0.1567, allocations: 0 / 352.2 MB, free: 10.55 MB / 302.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.005915/0.1627, allocations: 2.575 MB / 354.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.1627, allocations: 15.89 kB / 354.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007414/0.1635, allocations: 266 kB / 355.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.1658, allocations: 1.299 MB / 356.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.1659, allocations: 135.9 kB / 356.5 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.1662, allocations: 192 kB / 356.7 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/0.1707, allocations: 2.41 MB / 359.1 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/0.1708, allocations: 0 / 359.1 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.171, allocations: 72 kB / 359.2 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.1711, allocations: 95.48 kB / 359.3 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/0.1747, allocations: 2.012 MB / 361.3 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.1872, allocations: 7.452 MB / 368.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.189, allocations: 1.264 MB / 370 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.1906, allocations: 0.912 MB / 370.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.1908, allocations: 118 kB / 371 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1909, allocations: 47.55 kB / 371.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 3.046e-06/0.1909, allocations: 0 / 371.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009366/0.2002, allocations: 5.001 MB / 376.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.2003, allocations: 72.39 kB / 376.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.2022, allocations: 1.372 MB / 377.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.072e-05/0.2023, allocations: 41.7 kB / 377.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2463/0.4486, allocations: 0.8957 MB / 378.5 MB, free: 51.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006221/0.4493, allocations: 353.6 kB / 378.8 MB, free: 51.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000497/0.4498, allocations: 214.9 kB / 379 MB, free: 51.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.45, allocations: 353.1 kB / 379.4 MB, free: 51.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4513, allocations: 0.6286 MB / 380 MB, free: 51.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4529, allocations: 0.9279 MB / 380.9 MB, free: 51.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/0.4559, allocations: 1.652 MB / 382.6 MB, free: 50.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.4559, allocations: 1.406 kB / 382.6 MB, free: 50.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.006246/0.4622, allocations: 2.384 MB / 385 MB, free: 49.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.4623, allocations: 8.406 kB / 385 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.4623, allocations: 11.56 kB / 385 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/0.4646, allocations: 0.7163 MB / 385.7 MB, free: 49.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4659, allocations: 242.5 kB / 385.9 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.4778, allocations: 8.74 MB / 394.7 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.4793, allocations: 85.11 kB / 394.7 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.4795, allocations: 43.56 kB / 394.8 MB, free: 44.08 MB / 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.001331/0.4808, allocations: 0.6321 MB / 395.4 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/0.4813, allocations: 139.1 kB / 395.6 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.4846, allocations: 1.898 MB / 397.5 MB, free: 42.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4846, allocations: 7.844 kB / 397.5 MB, free: 42.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4846, allocations: 7.906 kB / 397.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4846, allocations: 8.578 kB / 397.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/0.4908, allocations: 4.019 MB / 401.5 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4909, allocations: 1.875 kB / 401.5 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/0.4916, allocations: 183.6 kB / 401.7 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.4928, allocations: 463.8 kB / 402.1 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/0.4929, allocations: 27.98 kB / 402.2 MB, free: 40.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/0.4978, allocations: 6.696 MB / 408.9 MB, free: 32.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4979, allocations: 4.031 kB / 408.9 MB, free: 32.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.5017, allocations: 2.769 MB / 411.6 MB, free: 30.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009157/0.5027, allocations: 363.2 kB / 412 MB, free: 29.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/0.503, allocations: 23.98 kB / 412 MB, free: 29.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008063/0.5038, allocations: 71.92 kB / 412.1 MB, free: 29.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.504, allocations: 80.81 kB / 412.2 MB, free: 29.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-05/0.5041, allocations: 31.98 kB / 412.2 MB, free: 29.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001284/0.5054, allocations: 0.9542 MB / 413.1 MB, free: 28.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5054, allocations: 0 / 413.1 MB, free: 28.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001724/0.5072, allocations: 438.6 kB / 413.6 MB, free: 28.16 MB / 318.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.0004258/0.5076, allocations: 184.3 kB / 413.7 MB, free: 27.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004036/0.5117, allocations: 2.365 MB / 416.1 MB, free: 25.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.5117, allocations: 4 kB / 416.1 MB, free: 25.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.5135, allocations: 1.339 MB / 417.5 MB, free: 24.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.5158, allocations: 392.4 kB / 417.8 MB, free: 23.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008072/0.5239, allocations: 4.844 MB / 422.7 MB, free: 18.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.5251, allocations: 1.696 MB / 424.4 MB, free: 17.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001131/0.5263, allocations: 308.1 kB / 424.7 MB, free: 16.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.5265, allocations: 99.42 kB / 424.8 MB, free: 16.82 MB / 318.1 MB Notification: Performance of SimCode: time 3.807e-06/0.5265, allocations: 0 / 424.8 MB, free: 16.82 MB / 318.1 MB Notification: Performance of Templates: time 0.04346/0.57, allocations: 24 MB / 448.8 MB, free: 8.816 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)