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.001421/0.001421, 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.001408/0.001408, allocations: 192.7 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 1.769/1.769, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.001222/0.001222, allocations: 51.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3445, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01254/0.3571, allocations: 9.345 MB / 334.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007705/0.3648, allocations: 3.015 MB / 337.7 MB, free: 7.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.3665, allocations: 43.81 kB / 337.7 MB, free: 7.477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.3684, allocations: 0.6288 MB / 338.3 MB, free: 6.844 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.371, allocations: 0.7805 MB / 339.1 MB, free: 6.059 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000882/0.3719, allocations: 355.5 kB / 339.5 MB, free: 5.711 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003666/0.3756, allocations: 2.677 MB / 342.2 MB, free: 3.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/0.3782, allocations: 1.892 MB / 344 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.3806, allocations: 1.191 MB / 345.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.3827, allocations: 1.491 MB / 346.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004499/0.3831, allocations: 308 kB / 347 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008352/0.384, allocations: 399.8 kB / 347.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009101/0.3849, allocations: 0.8844 MB / 348.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.3868, allocations: 1.404 MB / 349.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004017/0.3908, allocations: 4.038 MB / 353.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3908, allocations: 0 / 353.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3908, allocations: 4 kB / 353.7 MB, free: 7.336 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.212e-05/0.3909, allocations: 0 / 353.7 MB, free: 7.336 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.006135/0.3971, allocations: 2.845 MB / 356.6 MB, free: 4.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/0.3971, allocations: 15.88 kB / 356.6 MB, free: 4.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008226/0.398, allocations: 285.7 kB / 356.9 MB, free: 4.129 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.4005, allocations: 1.438 MB / 358.3 MB, free: 2.633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.4006, allocations: 148.4 kB / 358.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/0.4009, allocations: 212 kB / 358.7 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/0.4051, allocations: 2.74 MB / 361.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/0.4052, allocations: 0 / 361.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.4054, allocations: 91.98 kB / 361.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.4056, allocations: 91.94 kB / 361.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/0.4093, allocations: 2.326 MB / 363.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.4215, allocations: 8.411 MB / 372.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.4237, allocations: 1.768 MB / 374.1 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.4255, allocations: 1.066 MB / 375.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.4258, allocations: 122.1 kB / 375.3 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4258, allocations: 43.56 kB / 375.3 MB, free: 1.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 2.564e-06/0.4258, allocations: 0 / 375.3 MB, free: 1.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01441/0.4403, allocations: 6.313 MB / 381.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.4404, allocations: 68.39 kB / 381.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/0.4432, allocations: 1.516 MB / 383.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.4433, allocations: 45.7 kB / 383.3 MB, free: 9.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.4446, allocations: 0.9912 MB / 384.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004601/0.4451, allocations: 406 kB / 384.7 MB, free: 7.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006568/0.4457, allocations: 259.4 kB / 384.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002882/0.446, allocations: 357.9 kB / 385.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.4473, allocations: 0.73 MB / 386 MB, free: 6.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.4487, allocations: 1.055 MB / 387 MB, free: 5.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002905/0.4516, allocations: 1.875 MB / 388.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.4517, allocations: 0 / 388.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004349/0.456, allocations: 2.357 MB / 391.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.4561, allocations: 8.344 kB / 391.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4561, allocations: 16 kB / 391.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009656/0.4571, allocations: 415.1 kB / 391.7 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.4583, allocations: 323.5 kB / 392 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005816/0.4641, allocations: 5.063 MB / 397.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.4654, allocations: 91.78 kB / 397.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.4656, allocations: 55.98 kB / 397.2 MB, free: 10.47 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.001359/0.4669, allocations: 0.7121 MB / 397.9 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.4673, allocations: 158 kB / 398.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.4711, allocations: 2.133 MB / 400.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4711, allocations: 12 kB / 400.2 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4711, allocations: 4 kB / 400.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.4712, allocations: 7.969 kB / 400.3 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007886/0.4791, allocations: 4.589 MB / 404.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.4791, allocations: 0 / 404.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009556/0.4801, allocations: 224 kB / 405.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.4814, allocations: 474.8 kB / 405.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.4815, allocations: 31.97 kB / 405.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006684/0.4882, allocations: 6.696 MB / 412.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4882, allocations: 0 / 412.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005233/0.4935, allocations: 3.178 MB / 415.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.4946, allocations: 403 kB / 415.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/0.4949, allocations: 27.94 kB / 415.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/0.4958, allocations: 79.91 kB / 415.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.4961, allocations: 100.8 kB / 416 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/0.4961, allocations: 35.98 kB / 416.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001612/0.4978, allocations: 1.048 MB / 417.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4978, allocations: 3.938 kB / 417.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001651/0.4994, allocations: 467.9 kB / 417.6 MB, free: 5.48 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.0004155/0.4999, allocations: 183 kB / 417.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005083/0.5049, allocations: 2.82 MB / 420.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.505, allocations: 4 kB / 420.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002536/0.5075, allocations: 1.489 MB / 422.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/0.5105, allocations: 437 kB / 422.5 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008771/0.5193, allocations: 4.519 MB / 427 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.5209, allocations: 1.826 MB / 428.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001438/0.5224, allocations: 397.5 kB / 429.2 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.5227, allocations: 111.4 kB / 429.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5227, allocations: 0 / 429.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of Templates: time 0.2235/0.7462, allocations: 25.55 MB / 454.9 MB, free: 113.9 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)