Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01292/0.01292, allocations: 102.2 kB / 15.73 MB, free: 6.039 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.002158/0.002158, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.93/1.93, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.00237/0.00237, allocations: 59.92 kB / 326.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1387, allocations: 46.61 MB / 373.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.3461/0.4849, allocations: 12.8 MB / 386 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.4956, allocations: 4.251 MB / 390.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004705/0.5003, allocations: 67.22 kB / 390.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.5051, allocations: 0.9693 MB / 391.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00715/0.5123, allocations: 1.177 MB / 392.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.515, allocations: 0.5222 MB / 393 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.5258, allocations: 4.675 MB / 397.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007248/0.5331, allocations: 3.607 MB / 401.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00969/0.5428, allocations: 2.12 MB / 403.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008958/0.5518, allocations: 2.558 MB / 405.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002045/0.5539, allocations: 0.5524 MB / 406.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/0.5569, allocations: 0.65 MB / 407.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.5588, allocations: 1.522 MB / 408.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00541/0.5642, allocations: 2.484 MB / 411.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.5754, allocations: 7.421 MB / 418.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5754, allocations: 0 / 418.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5755, allocations: 0 / 418.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002636/0.5757, allocations: 0 / 418.6 MB, free: 2.184 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01573/0.5915, allocations: 4.697 MB / 423.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.5915, allocations: 11.89 kB / 423.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.5932, allocations: 499.5 kB / 423.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006416/0.5996, allocations: 2.408 MB / 426.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/0.5999, allocations: 271 kB / 426.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009487/0.6009, allocations: 355.9 kB / 426.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/0.6141, allocations: 5.021 MB / 431.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.6142, allocations: 4 kB / 431.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004389/0.6147, allocations: 144 kB / 431.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/0.6149, allocations: 187 kB / 432.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009669/0.6246, allocations: 4.294 MB / 436.4 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04526/0.6699, allocations: 14.72 MB / 451.1 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009937/0.6799, allocations: 4.203 MB / 455.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005383/0.6853, allocations: 1.987 MB / 457.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/0.6858, allocations: 131.1 kB / 457.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.291e-05/0.6859, allocations: 65.19 kB / 457.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.807e-06/0.6859, allocations: 384 / 457.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.03028/0.7162, allocations: 10.01 MB / 467.5 MB, free: 264 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.7164, allocations: 73.41 kB / 467.6 MB, free: 176 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007898/0.7243, allocations: 2.51 MB / 470.1 MB, free: 13.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009375/0.7253, allocations: 61.7 kB / 470.2 MB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/0.7275, allocations: 1.619 MB / 471.8 MB, free: 11.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001662/0.7292, allocations: 0.7393 MB / 472.5 MB, free: 11.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.7303, allocations: 412.3 kB / 472.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.7305, allocations: 309.1 kB / 473.2 MB, free: 10.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/0.7329, allocations: 1.305 MB / 474.5 MB, free: 9.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/0.7357, allocations: 1.775 MB / 476.3 MB, free: 7.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004871/0.7406, allocations: 3.215 MB / 479.5 MB, free: 3.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/0.7406, allocations: 7.984 kB / 479.5 MB, free: 3.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007731/0.7483, allocations: 4.075 MB / 483.6 MB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/0.7484, allocations: 15.91 kB / 483.6 MB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/0.7485, allocations: 15.98 kB / 483.6 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/0.7511, allocations: 0.8206 MB / 484.5 MB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.7536, allocations: 0.5227 MB / 485 MB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.7668, allocations: 9.478 MB / 494.5 MB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/0.7706, allocations: 119.9 kB / 494.6 MB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006103/0.7712, allocations: 88 kB / 494.7 MB, free: 4.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(3,25,77.8%), (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.003245/0.7745, allocations: 1.219 MB / 495.9 MB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/0.7756, allocations: 280.6 kB / 496.2 MB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007974/0.7836, allocations: 3.718 MB / 499.9 MB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.7837, allocations: 24 kB / 499.9 MB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-05/0.7837, allocations: 4 kB / 499.9 MB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-05/0.7838, allocations: 11.97 kB / 499.9 MB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/0.8026, allocations: 8.017 MB / 0.496 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.8027, allocations: 4 kB / 0.496 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.8044, allocations: 383.8 kB / 0.4964 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002737/0.8072, allocations: 0.8827 MB / 0.4973 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002618/0.8074, allocations: 55.97 kB / 0.4973 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.821, allocations: 11.05 MB / 0.5081 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.8211, allocations: 4.062 kB / 0.5081 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.8313, allocations: 5.504 MB / 0.5135 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/0.8339, allocations: 0.6343 MB / 0.5141 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005515/0.8345, allocations: 51.98 kB / 0.5142 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.8359, allocations: 119.8 kB / 0.5143 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005267/0.8365, allocations: 181.8 kB / 0.5144 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.8366, allocations: 59.98 kB / 0.5145 GB, free: 3.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003432/0.84, allocations: 1.727 MB / 0.5162 GB, free: 1.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8401, allocations: 0 / 0.5162 GB, free: 1.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005286/0.8454, allocations: 0.8008 MB / 0.517 GB, free: 0.6328 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.001072/0.8465, allocations: 232.8 kB / 0.5172 GB, free: 404 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007992/0.8545, allocations: 3.907 MB / 0.521 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.896e-05/0.8546, allocations: 0 / 0.521 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004898/0.8595, allocations: 2.488 MB / 0.5234 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/0.8648, allocations: 0.7854 MB / 0.5242 GB, free: 9.059 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.8823, allocations: 7.691 MB / 0.5317 GB, free: 1.312 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/0.8859, allocations: 2.777 MB / 0.5344 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00271/0.8887, allocations: 0.6827 MB / 0.5351 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006575/0.8894, allocations: 175.4 kB / 0.5353 GB, free: 13.65 MB / 478.1 MB Notification: Performance of SimCode: time 1.563e-06/0.8894, allocations: 0 / 0.5353 GB, free: 13.65 MB / 478.1 MB Notification: Performance of Templates: time 0.4012/1.291, allocations: 45.31 MB / 0.5795 GB, free: 136.5 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)