Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009105/0.009105, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.00164/0.00164, allocations: 190.9 kB / 16.67 MB, free: 5.938 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.88/1.88, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.00155/0.00155, allocations: 49.97 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1696, allocations: 46.64 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01553/0.1853, allocations: 9.334 MB / 382.5 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.1957, allocations: 3.023 MB / 385.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003442/0.1992, allocations: 39.81 kB / 385.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.2023, allocations: 0.6366 MB / 386.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.2077, allocations: 0.7766 MB / 387 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.21, allocations: 355.5 kB / 387.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006804/0.2168, allocations: 2.689 MB / 390 MB, free: 404 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/0.2203, allocations: 1.893 MB / 391.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.2233, allocations: 1.187 MB / 393.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.2268, allocations: 1.487 MB / 394.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009486/0.2278, allocations: 308 kB / 394.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.2293, allocations: 403.8 kB / 395.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.2304, allocations: 0.8843 MB / 396.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.233, allocations: 1.408 MB / 397.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008066/0.2411, allocations: 4.099 MB / 401.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.2412, allocations: 4 kB / 401.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.2412, allocations: 0 / 401.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002486/0.2415, allocations: 0 / 401.7 MB, free: 4.641 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01033/0.2518, allocations: 2.917 MB / 404.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.299e-05/0.2519, allocations: 11.89 kB / 404.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.2531, allocations: 299.2 kB / 404.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.2569, allocations: 1.451 MB / 406.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.2571, allocations: 156.3 kB / 406.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004116/0.2576, allocations: 208.1 kB / 406.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006123/0.2637, allocations: 2.736 MB / 409.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.251e-05/0.2638, allocations: 4 kB / 409.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.2641, allocations: 87.98 kB / 409.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.2642, allocations: 95.92 kB / 409.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005176/0.2694, allocations: 2.319 MB / 412 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/0.2879, allocations: 8.339 MB / 420.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.2906, allocations: 1.775 MB / 422.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.2928, allocations: 1.069 MB / 423.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004015/0.2932, allocations: 126.9 kB / 423.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.15e-05/0.2933, allocations: 47.56 kB / 423.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 4.508e-06/0.2933, allocations: 0 / 423.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01716/0.3105, allocations: 6.343 MB / 429.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/0.3107, allocations: 64.41 kB / 429.7 MB, free: 7.859 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003416/0.3141, allocations: 1.52 MB / 431.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002326/0.3143, allocations: 49.69 kB / 431.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.3155, allocations: 1.005 MB / 432.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/0.316, allocations: 436.3 kB / 432.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005252/0.3166, allocations: 255.5 kB / 433 MB, free: 4.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003053/0.3169, allocations: 361.9 kB / 433.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.3184, allocations: 0.73 MB / 434 MB, free: 3.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.3203, allocations: 1.059 MB / 435.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.3235, allocations: 1.871 MB / 437 MB, free: 304 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.3236, allocations: 0 / 437 MB, free: 304 kB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005485/0.3291, allocations: 2.358 MB / 439.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/0.3292, allocations: 15.98 kB / 439.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.3292, allocations: 8 kB / 439.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.3304, allocations: 411.5 kB / 439.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.3317, allocations: 323.5 kB / 440.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006601/0.3383, allocations: 5.064 MB / 445.1 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.3405, allocations: 95.73 kB / 445.2 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.3407, allocations: 56.05 kB / 445.3 MB, free: 7.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002139/0.3429, allocations: 0.7081 MB / 446 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/0.3435, allocations: 174.9 kB / 446.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/0.3481, allocations: 2.129 MB / 448.3 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.3482, allocations: 12 kB / 448.3 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.3482, allocations: 8 kB / 448.3 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.3482, allocations: 3.984 kB / 448.3 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3994/0.7476, allocations: 4.57 MB / 452.9 MB, free: 68.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.184e-05/0.7477, allocations: 2.859 kB / 452.9 MB, free: 68.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.7494, allocations: 220.1 kB / 453.1 MB, free: 68.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/0.7513, allocations: 472.5 kB / 453.6 MB, free: 68.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.7515, allocations: 32.59 kB / 453.6 MB, free: 68.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008385/0.7599, allocations: 6.678 MB / 460.3 MB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.76, allocations: 3.438 kB / 460.3 MB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00776/0.7678, allocations: 3.185 MB / 463.5 MB, free: 63.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.7691, allocations: 413.5 kB / 463.9 MB, free: 63.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.7694, allocations: 29.05 kB / 463.9 MB, free: 63.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009172/0.7703, allocations: 75.75 kB / 464 MB, free: 63.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.7708, allocations: 103.5 kB / 464.1 MB, free: 63.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.7709, allocations: 35.11 kB / 464.1 MB, free: 63.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002258/0.7732, allocations: 1.055 MB / 465.2 MB, free: 63.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7732, allocations: 0 / 465.2 MB, free: 63.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00309/0.7763, allocations: 462.1 kB / 465.6 MB, free: 62.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0006067/0.7769, allocations: 191.7 kB / 465.8 MB, free: 62.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004607/0.7815, allocations: 2.269 MB / 468.1 MB, free: 61.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.7816, allocations: 5.094 kB / 468.1 MB, free: 61.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002739/0.7843, allocations: 1.488 MB / 469.6 MB, free: 61.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/0.7874, allocations: 441.2 kB / 470 MB, free: 60.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.798, allocations: 4.543 MB / 474.5 MB, free: 58.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/0.8005, allocations: 1.821 MB / 476.4 MB, free: 57.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001794/0.8023, allocations: 391.6 kB / 476.7 MB, free: 57.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.8027, allocations: 116.5 kB / 476.9 MB, free: 57.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.104e-06/0.8027, allocations: 0 / 476.9 MB, free: 57.71 MB / 382.1 MB Notification: Performance of Templates: time 0.04828/0.851, allocations: 25.99 MB / 0.4911 GB, free: 33.83 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)