Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001158/0.001158, allocations: 86.67 kB / 16.32 MB, free: 6.457 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.001187/0.001188, allocations: 182.8 kB / 17.21 MB, free: 6.328 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.911/1.911, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0005453/0.0005457, allocations: 12 kB / 280.2 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1479, allocations: 47.58 MB / 327.7 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01682/0.1648, allocations: 11.34 MB / 339.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.1763, allocations: 4.01 MB / 343.1 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.1795, allocations: 63.69 kB / 343.2 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.1829, allocations: 0.7728 MB / 343.9 MB, free: 3.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.1876, allocations: 1.029 MB / 345 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1894, allocations: 327.6 kB / 345.3 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007502/0.1969, allocations: 4.84 MB / 350.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005988/0.203, allocations: 2.514 MB / 352.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/0.207, allocations: 1.568 MB / 354.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005389/0.2125, allocations: 2.105 MB / 356.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002491/0.215, allocations: 244 kB / 356.5 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.2182, allocations: 315.9 kB / 356.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003193/0.2215, allocations: 1.149 MB / 358 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002832/0.2243, allocations: 0.8394 MB / 358.8 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.2366, allocations: 5.995 MB / 364.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.2367, allocations: 0 / 364.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.419e-06/0.2367, allocations: 4 kB / 364.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003913/0.2371, allocations: 0 / 364.8 MB, free: 14.79 MB / 318.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.01426/0.2514, allocations: 3.993 MB / 368.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.2514, allocations: 8.031 kB / 368.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/0.2542, allocations: 0.4947 MB / 369.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00679/0.261, allocations: 2.307 MB / 371.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.2615, allocations: 255.1 kB / 371.9 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001581/0.2631, allocations: 355.9 kB / 372.2 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.2791, allocations: 5.009 MB / 377.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003256/0.2795, allocations: 4 kB / 377.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00147/0.2809, allocations: 147.9 kB / 377.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002744/0.2812, allocations: 191 kB / 377.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2498/0.5311, allocations: 4.283 MB / 381.9 MB, free: 47.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03043/0.5616, allocations: 14.99 MB / 396.9 MB, free: 39.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004587/0.5662, allocations: 4.201 MB / 401.1 MB, free: 35.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002904/0.5692, allocations: 2.004 MB / 403.1 MB, free: 34.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.5695, allocations: 132.2 kB / 403.2 MB, free: 34.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.5696, allocations: 64.12 kB / 403.2 MB, free: 34.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 6.552e-06/0.5696, allocations: 1 kB / 403.2 MB, free: 34.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01909/0.5887, allocations: 10.1 MB / 413.3 MB, free: 26.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.5888, allocations: 73.41 kB / 413.4 MB, free: 26.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/0.5934, allocations: 2.486 MB / 415.9 MB, free: 23.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003934/0.5938, allocations: 65.7 kB / 416 MB, free: 23.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.5952, allocations: 1.618 MB / 417.6 MB, free: 21.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009108/0.5961, allocations: 0.7332 MB / 418.3 MB, free: 21.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.5964, allocations: 44 kB / 418.4 MB, free: 21.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5966, allocations: 401.5 kB / 418.8 MB, free: 20.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.5986, allocations: 1.305 MB / 420.1 MB, free: 19.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.601, allocations: 1.784 MB / 421.8 MB, free: 17.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.6035, allocations: 1.56 MB / 423.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/0.6035, allocations: 7.953 kB / 423.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006844/0.6104, allocations: 4.075 MB / 427.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.6104, allocations: 8 kB / 427.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.6105, allocations: 16 kB / 427.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/0.613, allocations: 0.8838 MB / 428.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.6151, allocations: 0.5266 MB / 428.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/0.6236, allocations: 8.74 MB / 437.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.6262, allocations: 123.9 kB / 437.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004925/0.6267, allocations: 88 kB / 437.9 MB, free: 0.9648 MB / 318.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 (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 initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003066/0.6298, allocations: 1.215 MB / 439.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/0.6309, allocations: 280.7 kB / 439.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00798/0.6389, allocations: 3.729 MB / 443.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.639, allocations: 20 kB / 443.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.468e-05/0.639, allocations: 8 kB / 443.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/0.639, allocations: 7.969 kB / 443.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/0.6577, allocations: 8.114 MB / 451.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/0.6578, allocations: 4 kB / 451.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/0.6596, allocations: 387.8 kB / 451.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003333/0.6629, allocations: 0.9387 MB / 452.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003011/0.6633, allocations: 51.98 kB / 452.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.6767, allocations: 10.17 MB / 462.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.6767, allocations: 8.062 kB / 462.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/0.6881, allocations: 5.533 MB / 468.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002579/0.6908, allocations: 0.6343 MB / 469 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/0.6919, allocations: 55.98 kB / 469 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/0.694, allocations: 127.9 kB / 469.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005885/0.6946, allocations: 184.5 kB / 469.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000238/0.6948, allocations: 55.98 kB / 469.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004252/0.6991, allocations: 1.713 MB / 471.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6991, allocations: 4 kB / 471.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004148/0.7033, allocations: 0.793 MB / 471.9 MB, free: 14.22 MB / 366.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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007352/0.704, allocations: 198.6 kB / 472.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007308/0.7113, allocations: 3.898 MB / 476 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.7114, allocations: 3.938 kB / 476 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004574/0.716, allocations: 2.487 MB / 478.5 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005837/0.7219, allocations: 0.759 MB / 479.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/0.7411, allocations: 9.1 MB / 488.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00435/0.7455, allocations: 2.78 MB / 491.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003355/0.7489, allocations: 0.671 MB / 491.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.75, allocations: 183.4 kB / 492 MB, free: 9.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.233e-06/0.75, allocations: 0 / 492 MB, free: 9.91 MB / 382.1 MB Notification: Performance of Templates: time 0.08424/0.8342, allocations: 42.72 MB / 0.5221 GB, free: 15.14 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)