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.008025/0.008025, allocations: 99.61 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.001707/0.001707, allocations: 195.9 kB / 16.67 MB, free: 5.93 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.893/1.893, allocations: 205.1 MB / 222.6 MB, free: 4.383 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.001202/0.001202, allocations: 54.67 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1289, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01597/0.1449, allocations: 12.8 MB / 386 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.1554, allocations: 4.246 MB / 390.2 MB, free: 164 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.1586, allocations: 67.69 kB / 390.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003496/0.1622, allocations: 0.9781 MB / 391.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005651/0.1679, allocations: 1.176 MB / 392.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.1696, allocations: 0.5266 MB / 393 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00693/0.1766, allocations: 4.669 MB / 397.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005093/0.1817, allocations: 3.606 MB / 401.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.1862, allocations: 2.111 MB / 403.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005683/0.1919, allocations: 2.557 MB / 405.9 MB, free: 360 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.1935, allocations: 0.5547 MB / 406.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.1955, allocations: 0.6404 MB / 407.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.1972, allocations: 1.527 MB / 408.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00509/0.2023, allocations: 2.478 MB / 411.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.2124, allocations: 7.423 MB / 418.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2124, allocations: 0 / 418.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2124, allocations: 0 / 418.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000245/0.2127, allocations: 0 / 418.5 MB, free: 3.691 MB / 350.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.01372/0.2264, allocations: 4.691 MB / 423.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.2265, allocations: 15.89 kB / 423.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.228, allocations: 0.4956 MB / 423.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004867/0.2329, allocations: 2.396 MB / 426.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.2332, allocations: 275 kB / 426.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006324/0.2338, allocations: 351.9 kB / 426.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.2441, allocations: 5.028 MB / 431.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.564e-05/0.2443, allocations: 4 kB / 431.8 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003546/0.2446, allocations: 152 kB / 431.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/0.2448, allocations: 179.1 kB / 432.1 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008821/0.2536, allocations: 4.294 MB / 436.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03612/0.2898, allocations: 14.72 MB / 451.1 MB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3641/0.6539, allocations: 4.194 MB / 455.3 MB, free: 65.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005649/0.6596, allocations: 1.987 MB / 457.3 MB, free: 65.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/0.66, allocations: 138.6 kB / 457.4 MB, free: 65.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/0.6601, allocations: 55.86 kB / 457.5 MB, free: 65.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.047e-06/0.6601, allocations: 1.062 kB / 457.5 MB, free: 65.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02653/0.6867, allocations: 10.01 MB / 467.5 MB, free: 61.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.6868, allocations: 78.56 kB / 467.6 MB, free: 61.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006278/0.6931, allocations: 2.507 MB / 470.1 MB, free: 60.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004669/0.6936, allocations: 65.52 kB / 470.1 MB, free: 60.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.6948, allocations: 1.609 MB / 471.8 MB, free: 59.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007208/0.6955, allocations: 0.7387 MB / 472.5 MB, free: 58.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007141/0.6962, allocations: 411.2 kB / 472.9 MB, free: 58.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.6963, allocations: 308.6 kB / 473.2 MB, free: 58.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.6983, allocations: 1.304 MB / 474.5 MB, free: 57.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/0.7006, allocations: 1.781 MB / 476.3 MB, free: 56.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004675/0.7053, allocations: 3.21 MB / 479.5 MB, free: 54.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.7053, allocations: 4.062 kB / 479.5 MB, free: 54.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00694/0.7123, allocations: 4.083 MB / 483.6 MB, free: 52.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.7123, allocations: 9.094 kB / 483.6 MB, free: 52.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.7123, allocations: 12 kB / 483.6 MB, free: 52.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/0.7146, allocations: 0.8253 MB / 484.4 MB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.7167, allocations: 0.5266 MB / 485 MB, free: 50.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009366/0.726, allocations: 9.48 MB / 494.4 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003655/0.7297, allocations: 116.6 kB / 494.5 MB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00041/0.7302, allocations: 85.64 kB / 494.6 MB, free: 40.73 MB / 382.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.003398/0.7336, allocations: 1.22 MB / 495.9 MB, free: 39.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/0.7348, allocations: 276.7 kB / 496.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006144/0.7409, allocations: 3.721 MB / 499.8 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.741, allocations: 20 kB / 499.9 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.741, allocations: 8 kB / 499.9 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.741, allocations: 7.969 kB / 499.9 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.7555, allocations: 8.027 MB / 0.496 GB, free: 27.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.7555, allocations: 4.344 kB / 0.496 GB, free: 27.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.7571, allocations: 387.4 kB / 0.4964 GB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002672/0.7598, allocations: 0.8632 MB / 0.4972 GB, free: 26.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/0.76, allocations: 51.97 kB / 0.4973 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009815/0.7699, allocations: 11.07 MB / 0.5081 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7699, allocations: 4 kB / 0.5081 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009165/0.7791, allocations: 5.506 MB / 0.5135 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002932/0.7821, allocations: 0.6343 MB / 0.5141 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007378/0.7828, allocations: 51.98 kB / 0.5141 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.7843, allocations: 111.9 kB / 0.5142 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005947/0.7849, allocations: 181.7 kB / 0.5144 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.785, allocations: 62.61 kB / 0.5145 GB, free: 7.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002772/0.7878, allocations: 1.731 MB / 0.5162 GB, free: 6.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7878, allocations: 0 / 0.5162 GB, free: 6.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004081/0.7919, allocations: 0.7994 MB / 0.5169 GB, free: 5.27 MB / 382.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.0007028/0.7926, allocations: 246.8 kB / 0.5172 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005772/0.7984, allocations: 3.895 MB / 0.521 GB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.7984, allocations: 0 / 0.521 GB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004012/0.8024, allocations: 2.477 MB / 0.5234 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004231/0.8067, allocations: 0.787 MB / 0.5242 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.8235, allocations: 7.707 MB / 0.5317 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/0.8266, allocations: 2.784 MB / 0.5344 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002781/0.8294, allocations: 0.6788 MB / 0.5351 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006282/0.83, allocations: 175.4 kB / 0.5352 GB, free: 2.316 MB / 398.1 MB Notification: Performance of SimCode: time 1.633e-06/0.8301, allocations: 4 kB / 0.5352 GB, free: 2.312 MB / 398.1 MB Notification: Performance of Templates: time 0.0952/0.9253, allocations: 44.59 MB / 0.5788 GB, free: 5.707 MB / 446.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)