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.01079/0.01079, allocations: 100.5 kB / 15.73 MB, free: 6.016 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.001704/0.001705, allocations: 187.8 kB / 16.67 MB, free: 5.938 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.017/2.017, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.001185/0.001185, allocations: 48.62 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1341, allocations: 46.63 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01604/0.1502, allocations: 12.8 MB / 386 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.1619, allocations: 4.234 MB / 390.2 MB, free: 160 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003649/0.1656, allocations: 71.62 kB / 390.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004171/0.1699, allocations: 1.017 MB / 391.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006153/0.1761, allocations: 1.22 MB / 392.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1779, allocations: 0.5305 MB / 393.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007087/0.185, allocations: 4.676 MB / 397.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004452/0.1895, allocations: 3.606 MB / 401.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004952/0.1945, allocations: 2.123 MB / 403.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005569/0.2, allocations: 2.557 MB / 406 MB, free: 244 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.2016, allocations: 0.5547 MB / 406.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.2039, allocations: 0.6365 MB / 407.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.2055, allocations: 1.523 MB / 408.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00508/0.2106, allocations: 2.478 MB / 411.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.2238, allocations: 7.439 MB / 418.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.51e-05/0.224, allocations: 3.984 kB / 418.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.224, allocations: 0 / 418.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003687/0.2244, allocations: 4 kB / 418.7 MB, free: 3.559 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.02428/0.2486, allocations: 4.802 MB / 423.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.264e-05/0.2488, allocations: 15.89 kB / 423.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/0.2529, allocations: 0.5214 MB / 424 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008994/0.2619, allocations: 2.419 MB / 426.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004957/0.2625, allocations: 263.1 kB / 426.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/0.2647, allocations: 355.9 kB / 427 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.2847, allocations: 5.021 MB / 432.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003186/0.2851, allocations: 7.938 kB / 432.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001743/0.2869, allocations: 144 kB / 432.2 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002914/0.2872, allocations: 187.1 kB / 432.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.3013, allocations: 4.287 MB / 436.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04831/0.3496, allocations: 14.77 MB / 451.4 MB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3948/0.7445, allocations: 4.185 MB / 455.6 MB, free: 65.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004721/0.7493, allocations: 1.995 MB / 457.6 MB, free: 65.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003649/0.7497, allocations: 134.3 kB / 457.8 MB, free: 65.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.7498, allocations: 54.34 kB / 457.8 MB, free: 65.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 6.953e-06/0.7498, allocations: 3.719 kB / 457.8 MB, free: 65.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02488/0.7747, allocations: 10.07 MB / 467.9 MB, free: 61.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.7748, allocations: 78.05 kB / 468 MB, free: 61.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/0.7795, allocations: 2.506 MB / 470.5 MB, free: 60.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004102/0.7799, allocations: 61.61 kB / 470.5 MB, free: 60.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.7811, allocations: 1.651 MB / 472.2 MB, free: 59.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007376/0.7818, allocations: 0.7751 MB / 473 MB, free: 58.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006654/0.7825, allocations: 422.7 kB / 473.4 MB, free: 58.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.7826, allocations: 301.1 kB / 473.7 MB, free: 58.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.7844, allocations: 1.306 MB / 475 MB, free: 57.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.7865, allocations: 1.777 MB / 476.7 MB, free: 56.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004225/0.7907, allocations: 3.216 MB / 480 MB, free: 54.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.7908, allocations: 3.844 kB / 480 MB, free: 54.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006675/0.7974, allocations: 4.089 MB / 484.1 MB, free: 52.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.7975, allocations: 13.09 kB / 484.1 MB, free: 52.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.7975, allocations: 12.47 kB / 484.1 MB, free: 52.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/0.7997, allocations: 0.821 MB / 484.9 MB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.8016, allocations: 0.5265 MB / 485.4 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008875/0.8105, allocations: 9.484 MB / 494.9 MB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/0.8134, allocations: 126.9 kB / 495 MB, free: 40.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/0.8137, allocations: 80 kB / 495.1 MB, free: 40.71 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.002743/0.8164, allocations: 1.221 MB / 496.3 MB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008875/0.8173, allocations: 286.2 kB / 496.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005562/0.8229, allocations: 3.725 MB / 0.4886 GB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.8229, allocations: 28.62 kB / 0.4886 GB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.823, allocations: 12 kB / 0.4886 GB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.823, allocations: 7.969 kB / 0.4887 GB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.8391, allocations: 8.02 MB / 0.4965 GB, free: 27.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.8391, allocations: 4 kB / 0.4965 GB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.8408, allocations: 379.5 kB / 0.4969 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/0.8434, allocations: 0.8783 MB / 0.4977 GB, free: 26.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.8437, allocations: 59.97 kB / 0.4978 GB, free: 26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.8547, allocations: 11.06 MB / 0.5086 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.8547, allocations: 0 / 0.5086 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.865, allocations: 5.534 MB / 0.514 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002827/0.8679, allocations: 0.6436 MB / 0.5146 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001313/0.8692, allocations: 47.98 kB / 0.5146 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/0.8717, allocations: 119.9 kB / 0.5148 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006037/0.8724, allocations: 177.7 kB / 0.5149 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000226/0.8726, allocations: 60.98 kB / 0.515 GB, free: 7.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00467/0.8773, allocations: 1.731 MB / 0.5167 GB, free: 5.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8773, allocations: 4 kB / 0.5167 GB, free: 5.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005121/0.8824, allocations: 0.7929 MB / 0.5175 GB, free: 5.191 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.0008653/0.8833, allocations: 255.3 kB / 0.5177 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006651/0.89, allocations: 3.899 MB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.89, allocations: 256 / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004619/0.8947, allocations: 2.479 MB / 0.5239 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006197/0.9009, allocations: 0.785 MB / 0.5247 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/0.9204, allocations: 7.836 MB / 0.5323 GB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00446/0.9249, allocations: 2.777 MB / 0.5351 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003157/0.9281, allocations: 0.6749 MB / 0.5357 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.9293, allocations: 179.4 kB / 0.5359 GB, free: 2.098 MB / 398.1 MB Notification: Performance of SimCode: time 1.813e-06/0.9293, allocations: 0 / 0.5359 GB, free: 2.098 MB / 398.1 MB Notification: Performance of Templates: time 0.09049/1.02, allocations: 44.59 MB / 0.5794 GB, free: 5.492 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)