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.01346/0.01346, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001892/0.001892, allocations: 193.5 kB / 16.67 MB, free: 5.977 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.983/1.983, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001234/0.001234, allocations: 55.05 kB / 326.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01047/0.1153, allocations: 8.847 MB / 382 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00625/0.1216, allocations: 2.918 MB / 385 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.1229, allocations: 31.88 kB / 385 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.1246, allocations: 0.6094 MB / 385.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.1273, allocations: 0.7222 MB / 386.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.1281, allocations: 339.4 kB / 386.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002872/0.131, allocations: 2.397 MB / 389 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.1329, allocations: 1.714 MB / 390.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.1349, allocations: 1.051 MB / 391.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.1379, allocations: 1.339 MB / 393.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007553/0.1387, allocations: 280 kB / 393.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.1399, allocations: 379.8 kB / 393.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008339/0.1407, allocations: 0.7986 MB / 394.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.1422, allocations: 1.26 MB / 395.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004388/0.1466, allocations: 3.688 MB / 399.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1467, allocations: 0 / 399.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1467, allocations: 0 / 399.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.708e-05/0.1468, allocations: 0 / 399.5 MB, free: 6.793 MB / 334.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.005272/0.152, allocations: 2.575 MB / 402.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1521, allocations: 11.89 kB / 402.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007004/0.1528, allocations: 258.1 kB / 402.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.155, allocations: 1.307 MB / 403.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.491e-05/0.1551, allocations: 132 kB / 403.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/0.1554, allocations: 192 kB / 404 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003921/0.1594, allocations: 2.41 MB / 406.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.288e-05/0.1594, allocations: 7.906 kB / 406.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.1596, allocations: 83.92 kB / 406.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-05/0.1597, allocations: 79.5 kB / 406.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003574/0.1633, allocations: 2.024 MB / 408.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.1755, allocations: 7.358 MB / 416 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.1774, allocations: 1.272 MB / 417.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.1791, allocations: 0.9081 MB / 418.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.1794, allocations: 130 kB / 418.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.1795, allocations: 39.56 kB / 418.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.586e-06/0.1795, allocations: 0 / 418.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.00984/0.1893, allocations: 5.001 MB / 423.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1894, allocations: 60.41 kB / 423.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.1914, allocations: 1.38 MB / 424.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.964e-05/0.1915, allocations: 41.7 kB / 424.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006376/0.1921, allocations: 0.9008 MB / 425.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.1924, allocations: 350.9 kB / 426 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.1928, allocations: 218.8 kB / 426.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1929, allocations: 357.9 kB / 426.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009448/0.1939, allocations: 0.6272 MB / 427.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.195, allocations: 0.922 MB / 428.1 MB, free: 9.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.1972, allocations: 1.645 MB / 429.8 MB, free: 7.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1972, allocations: 4 kB / 429.8 MB, free: 7.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004234/0.2015, allocations: 2.39 MB / 432.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.2015, allocations: 12 kB / 432.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.2015, allocations: 8.25 kB / 432.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.2034, allocations: 0.7079 MB / 432.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/0.2043, allocations: 239.7 kB / 433.1 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.2154, allocations: 8.737 MB / 441.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.2171, allocations: 91.94 kB / 442 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.2172, allocations: 44 kB / 442 MB, free: 11.14 MB / 382.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.00125/0.2185, allocations: 0.6224 MB / 442.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/0.2189, allocations: 146.2 kB / 442.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/0.2222, allocations: 1.893 MB / 444.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.2222, allocations: 19.98 kB / 444.7 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2222, allocations: 4 kB / 444.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.2223, allocations: 3.984 kB / 444.7 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00696/0.2292, allocations: 4.012 MB / 448.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.2293, allocations: 0 / 448.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/0.23, allocations: 183.9 kB / 448.9 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.2312, allocations: 462.9 kB / 449.3 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-05/0.2313, allocations: 27.98 kB / 449.4 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3157/0.547, allocations: 6.685 MB / 456.1 MB, free: 68.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5471, allocations: 2.875 kB / 456.1 MB, free: 68.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005508/0.5526, allocations: 2.774 MB / 458.8 MB, free: 67.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.554, allocations: 353.5 kB / 459.2 MB, free: 67.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.5542, allocations: 28.83 kB / 459.2 MB, free: 67.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009408/0.5552, allocations: 70.7 kB / 459.3 MB, free: 67.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003171/0.5555, allocations: 85.44 kB / 459.4 MB, free: 67.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.267e-05/0.5556, allocations: 28.03 kB / 459.4 MB, free: 67.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001987/0.5576, allocations: 0.9551 MB / 460.3 MB, free: 67.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5576, allocations: 2.344 kB / 460.3 MB, free: 67.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001961/0.5596, allocations: 432.9 kB / 460.8 MB, free: 67.25 MB / 382.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.0004025/0.56, allocations: 183.5 kB / 460.9 MB, free: 67.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004162/0.5642, allocations: 2.006 MB / 462.9 MB, free: 66.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.5642, allocations: 5.281 kB / 463 MB, free: 66.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.5667, allocations: 1.335 MB / 464.3 MB, free: 65.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.5693, allocations: 387.4 kB / 464.7 MB, free: 65.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008553/0.5779, allocations: 4.008 MB / 468.7 MB, free: 63.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/0.5799, allocations: 1.688 MB / 470.4 MB, free: 62.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001527/0.5814, allocations: 317 kB / 470.7 MB, free: 62.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.5818, allocations: 101.9 kB / 470.8 MB, free: 62.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.524e-06/0.5818, allocations: 0 / 470.8 MB, free: 62.62 MB / 382.1 MB Notification: Performance of Templates: time 0.04183/0.6236, allocations: 24.42 MB / 495.2 MB, free: 41.98 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)