Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001731/0.001731, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002471/0.002472, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001695/0.001695, allocations: 51.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3799, allocations: 46.63 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01493/0.3949, allocations: 9.349 MB / 334.7 MB, free: 10.44 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.405, allocations: 3.009 MB / 337.7 MB, free: 7.535 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.4086, allocations: 39.81 kB / 337.7 MB, free: 7.496 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.4119, allocations: 0.6288 MB / 338.3 MB, free: 6.863 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.4169, allocations: 0.7844 MB / 339.1 MB, free: 6.074 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.4186, allocations: 351.4 kB / 339.5 MB, free: 5.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005216/0.4238, allocations: 2.681 MB / 342.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003296/0.4271, allocations: 1.892 MB / 344 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.43, allocations: 1.195 MB / 345.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003603/0.4337, allocations: 1.483 MB / 346.7 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.4349, allocations: 315.9 kB / 347 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.4365, allocations: 391.9 kB / 347.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.4377, allocations: 0.8921 MB / 348.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003766/0.4415, allocations: 1.404 MB / 349.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008098/0.4497, allocations: 4.035 MB / 353.7 MB, free: 7.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4498, allocations: 0 / 353.7 MB, free: 7.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4498, allocations: 0 / 353.7 MB, free: 7.355 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001648/0.4499, allocations: 4 kB / 353.7 MB, free: 7.352 MB / 286.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.0102/0.4601, allocations: 2.849 MB / 356.6 MB, free: 4.438 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.259e-05/0.4602, allocations: 11.89 kB / 356.6 MB, free: 4.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.4616, allocations: 289.7 kB / 356.9 MB, free: 4.141 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005333/0.467, allocations: 1.441 MB / 358.3 MB, free: 2.641 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.4673, allocations: 152.4 kB / 358.5 MB, free: 2.488 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009601/0.4683, allocations: 208 kB / 358.7 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007126/0.4754, allocations: 2.74 MB / 361.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.426e-05/0.4756, allocations: 4 kB / 361.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.4759, allocations: 83.91 kB / 361.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.4761, allocations: 99.94 kB / 361.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005751/0.4818, allocations: 2.322 MB / 363.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01998/0.5019, allocations: 8.411 MB / 372.3 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.5046, allocations: 1.764 MB / 374.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.5069, allocations: 1.066 MB / 375.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/0.5072, allocations: 126.1 kB / 375.3 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/0.5073, allocations: 43.56 kB / 375.3 MB, free: 1.152 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 5.06e-06/0.5073, allocations: 0 / 375.3 MB, free: 1.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01559/0.5229, allocations: 6.317 MB / 381.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/0.5231, allocations: 68.39 kB / 381.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/0.5266, allocations: 1.512 MB / 383.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004048/0.527, allocations: 45.7 kB / 383.3 MB, free: 9.051 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.5281, allocations: 0.9834 MB / 384.3 MB, free: 8.055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005179/0.5286, allocations: 414 kB / 384.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004516/0.5291, allocations: 251.4 kB / 384.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5293, allocations: 361.9 kB / 385.3 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.5305, allocations: 0.7339 MB / 386 MB, free: 6.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.5322, allocations: 1.052 MB / 387 MB, free: 5.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.5353, allocations: 1.875 MB / 388.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.5353, allocations: 4 kB / 388.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004617/0.54, allocations: 2.353 MB / 391.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.54, allocations: 12.34 kB / 391.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/0.5401, allocations: 12 kB / 391.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.5413, allocations: 411.1 kB / 391.7 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.5427, allocations: 327.5 kB / 392 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/0.5491, allocations: 5.063 MB / 397.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.5512, allocations: 95.84 kB / 397.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.5514, allocations: 51.98 kB / 397.2 MB, free: 10.48 MB / 334.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.001695/0.5531, allocations: 0.7082 MB / 397.9 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005061/0.5536, allocations: 162 kB / 398.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/0.5581, allocations: 2.137 MB / 400.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.5581, allocations: 15.94 kB / 400.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.5581, allocations: 4 kB / 400.3 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.5581, allocations: 7.969 kB / 400.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.5683, allocations: 4.577 MB / 404.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.5684, allocations: 7.984 kB / 404.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.5694, allocations: 220 kB / 405.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.5708, allocations: 474.8 kB / 405.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/0.5709, allocations: 35.97 kB / 405.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007461/0.5784, allocations: 6.693 MB / 412.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.5785, allocations: 4.031 kB / 412.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/0.5843, allocations: 3.182 MB / 415.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.5856, allocations: 395 kB / 415.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.586, allocations: 32 kB / 415.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/0.5869, allocations: 71.91 kB / 415.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/0.5873, allocations: 108.8 kB / 416 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/0.5874, allocations: 35.98 kB / 416.1 MB, free: 7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002064/0.5895, allocations: 1.048 MB / 417.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5895, allocations: 0 / 417.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002314/0.5918, allocations: 463.9 kB / 417.6 MB, free: 5.5 MB / 350.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.0005474/0.5924, allocations: 183 kB / 417.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005674/0.5981, allocations: 2.824 MB / 420.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.5982, allocations: 0 / 420.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/0.6008, allocations: 1.489 MB / 422.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/0.6037, allocations: 448.9 kB / 422.5 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009557/0.6133, allocations: 4.511 MB / 427 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/0.6154, allocations: 1.83 MB / 428.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001649/0.617, allocations: 393.5 kB / 429.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.6175, allocations: 107.4 kB / 429.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6175, allocations: 0 / 429.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of Templates: time 0.2966/0.9141, allocations: 25.55 MB / 454.9 MB, free: 113.9 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)