Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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.001061/0.001061, allocations: 114.5 kB / 18.41 MB, free: 4.68 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.001028/0.001028, allocations: 186.2 kB / 19.34 MB, free: 3.754 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.253/1.253, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001181/0.001181, allocations: 51.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07265/0.07384, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.1572/0.231, allocations: 8.853 MB / 384.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00455/0.2356, allocations: 2.92 MB / 387.6 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.2367, allocations: 38.22 kB / 387.6 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.2382, allocations: 0.636 MB / 388.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.2402, allocations: 0.7682 MB / 389.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006455/0.2409, allocations: 319.4 kB / 389.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.2429, allocations: 2.399 MB / 391.8 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.2446, allocations: 1.716 MB / 393.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.2456, allocations: 1.058 MB / 394.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.2471, allocations: 1.349 MB / 395.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003556/0.2474, allocations: 279.3 kB / 396.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006634/0.2481, allocations: 371.6 kB / 396.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006889/0.2488, allocations: 0.7976 MB / 397.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.2498, allocations: 1.266 MB / 398.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.2529, allocations: 3.688 MB / 402.3 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2529, allocations: 0 / 402.3 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2529, allocations: 0 / 402.3 MB, free: 64 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.208e-05/0.253, allocations: 1.375 kB / 402.3 MB, free: 64 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.004604/0.2576, allocations: 2.628 MB / 404.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2576, allocations: 8.656 kB / 404.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000641/0.2583, allocations: 272.7 kB / 405.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.2603, allocations: 1.32 MB / 406.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-05/0.2604, allocations: 131.8 kB / 406.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.2607, allocations: 187.9 kB / 406.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.2644, allocations: 2.409 MB / 409.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.2645, allocations: 14.73 kB / 409.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/0.2646, allocations: 72.91 kB / 409.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.97e-05/0.2647, allocations: 88.44 kB / 409.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003199/0.2679, allocations: 2.013 MB / 411.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.2781, allocations: 7.392 MB / 418.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.2799, allocations: 1.272 MB / 420.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.2815, allocations: 0.9159 MB / 421 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.2818, allocations: 122 kB / 421.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.2818, allocations: 43.56 kB / 421.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 3.487e-06/0.2818, allocations: 0 / 421.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.008913/0.2907, allocations: 5.037 MB / 426.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.2908, allocations: 64.41 kB / 426.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.2927, allocations: 1.373 MB / 427.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.603e-05/0.2928, allocations: 45.7 kB / 427.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007435/0.2936, allocations: 0.911 MB / 428.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.2939, allocations: 368.9 kB / 428.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.2942, allocations: 226.8 kB / 429.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2944, allocations: 353.9 kB / 429.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.2955, allocations: 0.6272 MB / 430.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.2967, allocations: 0.9264 MB / 431.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.299, allocations: 1.649 MB / 432.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2991, allocations: 0 / 432.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004247/0.3033, allocations: 2.403 MB / 435.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3033, allocations: 8 kB / 435.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3034, allocations: 8 kB / 435.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.3052, allocations: 0.7127 MB / 435.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.3061, allocations: 231.7 kB / 436.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.3176, allocations: 8.757 MB / 444.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/0.3185, allocations: 80.03 kB / 444.9 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.3186, allocations: 56.06 kB / 445 MB, free: 9.375 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.0009256/0.3195, allocations: 0.6301 MB / 445.6 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.3198, allocations: 159 kB / 445.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003294/0.3231, allocations: 1.889 MB / 447.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3231, allocations: 7.969 kB / 447.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3231, allocations: 0 / 447.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.3237, allocations: 368 kB / 448 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.3239, allocations: 24 kB / 448 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007596/0.3247, allocations: 71.91 kB / 448.1 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.3249, allocations: 84.86 kB / 448.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004151/0.3291, allocations: 2.015 MB / 450.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003458/0.3325, allocations: 2.529 MB / 452.7 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009591/0.3335, allocations: 0.687 MB / 453.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001242/0.3348, allocations: 0.9543 MB / 454.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of Backend: time 2.5e-07/0.3348, allocations: 0 / 454.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.3378, allocations: 1.595 MB / 455.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of SimCode: time 0.006031/0.3438, allocations: 4.349 MB / 460.3 MB, free: 9.848 MB / 382.1 MB Notification: Performance of Templates: time 0.03882/0.3827, allocations: 25.62 MB / 485.9 MB, free: 188 kB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)