Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.002331/0.002331, allocations: 117.1 kB / 16.63 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.002775/0.002776, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.853/1.853, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001532/0.001532, allocations: 56.14 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1204, allocations: 46.62 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01409/0.1345, allocations: 9.286 MB / 335.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00827/0.1429, allocations: 2.981 MB / 338.4 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.1454, allocations: 31.88 kB / 338.4 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.149, allocations: 0.5634 MB / 339 MB, free: 7.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004031/0.153, allocations: 0.6955 MB / 339.7 MB, free: 7.156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.1546, allocations: 319.7 kB / 340 MB, free: 6.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00528/0.1599, allocations: 2.689 MB / 342.7 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004004/0.164, allocations: 1.896 MB / 344.6 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.1671, allocations: 1.199 MB / 345.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.1712, allocations: 1.53 MB / 347.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.1732, allocations: 308 kB / 347.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.1763, allocations: 399.8 kB / 348 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002423/0.1788, allocations: 0.8844 MB / 348.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005296/0.1841, allocations: 1.408 MB / 350.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007505/0.1917, allocations: 4.046 MB / 354.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.1918, allocations: 4 kB / 354.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.289e-06/0.1918, allocations: 0 / 354.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002473/0.1921, allocations: 0 / 354.4 MB, free: 8.395 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01125/0.2033, allocations: 2.837 MB / 357.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.798e-05/0.2035, allocations: 15.89 kB / 357.2 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.2048, allocations: 293.7 kB / 357.5 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/0.2087, allocations: 1.43 MB / 358.9 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.2089, allocations: 148.4 kB / 359.1 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004667/0.2094, allocations: 212 kB / 359.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006084/0.2155, allocations: 2.732 MB / 362 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.801e-05/0.2156, allocations: 3.984 kB / 362 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.2158, allocations: 87.98 kB / 362.1 MB, free: 444 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.216, allocations: 95.94 kB / 362.2 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004374/0.2203, allocations: 2.322 MB / 364.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.236, allocations: 8.418 MB / 372.9 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.2382, allocations: 1.775 MB / 374.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.24, allocations: 1.066 MB / 375.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.2403, allocations: 126.1 kB / 375.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.2403, allocations: 47.56 kB / 375.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.576e-06/0.2404, allocations: 0 / 375.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.2663/0.5067, allocations: 6.299 MB / 382.2 MB, free: 51.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.5068, allocations: 65.09 kB / 382.3 MB, free: 51.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003567/0.5104, allocations: 1.516 MB / 383.8 MB, free: 50.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002875/0.5107, allocations: 46.2 kB / 383.9 MB, free: 50.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.5117, allocations: 0.9841 MB / 384.9 MB, free: 49.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005802/0.5123, allocations: 420.5 kB / 385.3 MB, free: 49.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005894/0.5129, allocations: 250.6 kB / 385.5 MB, free: 49.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5131, allocations: 357.9 kB / 385.9 MB, free: 48.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.5148, allocations: 0.7314 MB / 386.6 MB, free: 48.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.5169, allocations: 1.057 MB / 387.6 MB, free: 48.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003981/0.5209, allocations: 1.876 MB / 389.5 MB, free: 47.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.5209, allocations: 3.219 kB / 389.5 MB, free: 47.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005847/0.5268, allocations: 2.353 MB / 391.9 MB, free: 46.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.5268, allocations: 8.812 kB / 391.9 MB, free: 46.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.5269, allocations: 13.28 kB / 391.9 MB, free: 46.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.528, allocations: 411 kB / 392.3 MB, free: 46.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.5295, allocations: 334.1 kB / 392.6 MB, free: 46.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006967/0.5365, allocations: 5.06 MB / 397.7 MB, free: 42.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.5388, allocations: 93.55 kB / 397.8 MB, free: 42.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.5392, allocations: 58.91 kB / 397.8 MB, free: 42.18 MB / 318.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.002167/0.5413, allocations: 0.7098 MB / 398.5 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008506/0.5422, allocations: 166.1 kB / 398.7 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/0.5467, allocations: 2.126 MB / 400.8 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.5467, allocations: 15.47 kB / 400.9 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.5467, allocations: 3.719 kB / 400.9 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.5468, allocations: 11.78 kB / 400.9 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00884/0.5556, allocations: 4.578 MB / 405.4 MB, free: 36.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.5557, allocations: 4 kB / 405.4 MB, free: 36.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009283/0.5566, allocations: 227.9 kB / 405.7 MB, free: 36.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.5578, allocations: 471.6 kB / 406.1 MB, free: 35.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.5579, allocations: 32.55 kB / 406.2 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00605/0.564, allocations: 6.69 MB / 412.9 MB, free: 28.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5641, allocations: 8.938 kB / 412.9 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/0.5689, allocations: 3.174 MB / 416 MB, free: 25.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.5703, allocations: 398.9 kB / 416.4 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/0.5706, allocations: 32 kB / 416.5 MB, free: 25.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009106/0.5715, allocations: 79.84 kB / 416.5 MB, free: 25.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/0.5718, allocations: 104.8 kB / 416.6 MB, free: 24.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.358e-05/0.5719, allocations: 37.2 kB / 416.7 MB, free: 24.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001392/0.5733, allocations: 1.044 MB / 417.7 MB, free: 23.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5733, allocations: 0 / 417.7 MB, free: 23.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001861/0.5752, allocations: 460 kB / 418.2 MB, free: 23.4 MB / 318.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.0005635/0.5758, allocations: 194.4 kB / 418.4 MB, free: 23.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004972/0.5807, allocations: 2.827 MB / 421.2 MB, free: 20.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.5808, allocations: 1.875 kB / 421.2 MB, free: 20.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.5829, allocations: 1.484 MB / 422.7 MB, free: 18.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.5857, allocations: 446.8 kB / 423.1 MB, free: 18.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/0.5933, allocations: 5.402 MB / 428.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.5946, allocations: 1.822 MB / 430.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001429/0.5961, allocations: 393.5 kB / 430.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.5964, allocations: 111.4 kB / 430.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5964, allocations: 0 / 430.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of Templates: time 0.05607/0.6525, allocations: 25.43 MB / 456.3 MB, free: 1.125 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)