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.009089/0.009089, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001452/0.001453, allocations: 195.2 kB / 16.67 MB, free: 5.52 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.833/1.833, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001454/0.001454, allocations: 47.94 kB / 326.6 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1137, allocations: 46.62 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.2447/0.3585, allocations: 8.859 MB / 382 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006872/0.3654, allocations: 2.915 MB / 384.9 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.3674, allocations: 38.28 kB / 385 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.3697, allocations: 0.6376 MB / 385.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.3732, allocations: 0.7676 MB / 386.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3743, allocations: 328.3 kB / 386.7 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003886/0.3782, allocations: 2.391 MB / 389.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.3806, allocations: 1.704 MB / 390.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.383, allocations: 1.069 MB / 391.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.3855, allocations: 1.342 MB / 393.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.3861, allocations: 278.7 kB / 393.5 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.3874, allocations: 371.7 kB / 393.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.3885, allocations: 0.7976 MB / 394.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.3906, allocations: 1.265 MB / 395.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006007/0.3966, allocations: 3.68 MB / 399.6 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.3967, allocations: 1.375 kB / 399.6 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3967, allocations: 0 / 399.6 MB, free: 84 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001446/0.3969, allocations: 0 / 399.6 MB, free: 84 kB / 318.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.007966/0.4048, allocations: 2.574 MB / 402.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/0.4049, allocations: 12.58 kB / 402.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.4061, allocations: 259.2 kB / 402.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.4091, allocations: 1.306 MB / 403.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.4092, allocations: 137.4 kB / 403.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.4096, allocations: 190.1 kB / 404.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005344/0.4149, allocations: 2.403 MB / 406.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.64e-05/0.4151, allocations: 14.12 kB / 406.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/0.4153, allocations: 78.02 kB / 406.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/0.4154, allocations: 87.58 kB / 406.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.4195, allocations: 2.013 MB / 408.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.4344, allocations: 7.369 MB / 416 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.4364, allocations: 1.268 MB / 417.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.4381, allocations: 0.9159 MB / 418.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.4384, allocations: 126.1 kB / 418.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.4385, allocations: 43.5 kB / 418.4 MB, free: 2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 3.146e-06/0.4385, allocations: 0 / 418.4 MB, free: 2 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.01089/0.4494, allocations: 5.002 MB / 423.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.4495, allocations: 60.41 kB / 423.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.4523, allocations: 1.376 MB / 424.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002406/0.4525, allocations: 45.7 kB / 424.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008279/0.4534, allocations: 0.8931 MB / 425.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/0.4538, allocations: 350.9 kB / 426.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/0.4542, allocations: 222.7 kB / 426.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4544, allocations: 349.9 kB / 426.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.4555, allocations: 0.6356 MB / 427.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.4568, allocations: 0.9181 MB / 428.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/0.4594, allocations: 1.653 MB / 429.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.4594, allocations: 4 kB / 429.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004762/0.4642, allocations: 2.383 MB / 432.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.4643, allocations: 11.98 kB / 432.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.4643, allocations: 12 kB / 432.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/0.4664, allocations: 0.7082 MB / 433 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009849/0.4674, allocations: 243.6 kB / 433.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.479, allocations: 8.745 MB / 441.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.4807, allocations: 79.86 kB / 442 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.481, allocations: 51.98 kB / 442.1 MB, free: 9.57 MB / 366.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.001676/0.4827, allocations: 0.6263 MB / 442.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005693/0.4832, allocations: 142.3 kB / 442.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/0.4869, allocations: 1.901 MB / 444.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.487, allocations: 12 kB / 444.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.487, allocations: 4 kB / 444.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.487, allocations: 3.984 kB / 444.8 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008667/0.4957, allocations: 4.012 MB / 448.8 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.4957, allocations: 3.938 kB / 448.8 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/0.4966, allocations: 188 kB / 449 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.4979, allocations: 467.4 kB / 449.4 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.498, allocations: 27.98 kB / 449.4 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006675/0.5047, allocations: 6.681 MB / 456.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5048, allocations: 0 / 456.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004928/0.5097, allocations: 2.783 MB / 458.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.5109, allocations: 355.2 kB / 459.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/0.5114, allocations: 24 kB / 459.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5124, allocations: 75.91 kB / 459.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.5127, allocations: 76.89 kB / 459.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.5128, allocations: 27.98 kB / 459.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001885/0.5147, allocations: 0.9543 MB / 460.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.627e-06/0.5147, allocations: 0 / 460.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002223/0.5169, allocations: 443.9 kB / 460.8 MB, free: 6.168 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.0005947/0.5175, allocations: 178.9 kB / 461 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004237/0.5218, allocations: 2.011 MB / 463 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.5218, allocations: 0 / 463 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.5242, allocations: 1.345 MB / 464.4 MB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.5272, allocations: 382.2 kB / 464.8 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.5377, allocations: 4.015 MB / 468.8 MB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/0.5409, allocations: 1.692 MB / 470.5 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001815/0.5427, allocations: 316 kB / 470.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000603/0.5434, allocations: 95.42 kB / 470.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.806e-06/0.5434, allocations: 4 kB / 470.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of Templates: time 0.05291/0.5963, allocations: 24.42 MB / 495.3 MB, free: 3.504 MB / 414.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)