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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01088/0.01088, allocations: 163.7 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.518/1.518, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001735/0.001735, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003157, allocations: 8 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2291, allocations: 38.76 MB / 312.9 MB, free: 38.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.3569, allocations: 102.2 MB / 415.1 MB, free: 4.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.3572, allocations: 91.95 kB / 415.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3905/0.7477, allocations: 94.11 MB / 0.4974 GB, free: 15.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.7478, allocations: 0 / 0.4974 GB, free: 15.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006021/0.7484, allocations: 95.88 kB / 0.4975 GB, free: 15.66 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.01361/0.762, allocations: 3.939 MB / 0.5013 GB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.7621, allocations: 8.031 kB / 0.5013 GB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.7658, allocations: 0.5063 MB / 0.5018 GB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00791/0.7738, allocations: 2.517 MB / 0.5043 GB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.7741, allocations: 267 kB / 0.5045 GB, free: 8.305 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002311/0.7764, allocations: 351.9 kB / 0.5049 GB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.7883, allocations: 4.916 MB / 0.5097 GB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-05/0.7884, allocations: 19.83 kB / 0.5097 GB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/0.7888, allocations: 148 kB / 0.5098 GB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/0.7889, allocations: 175 kB / 0.51 GB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006647/0.7956, allocations: 4.033 MB / 0.5139 GB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02704/0.8227, allocations: 14.88 MB / 0.5285 GB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004756/0.8275, allocations: 4.226 MB / 0.5326 GB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.8279, allocations: 143.1 kB / 0.5327 GB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.8279, allocations: 60.48 kB / 0.5328 GB, free: 10.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.759e-06/0.828, allocations: 4 kB / 0.5328 GB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.02127/0.8492, allocations: 10.16 MB / 0.5427 GB, free: 276 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.8494, allocations: 77.34 kB / 0.5428 GB, free: 184 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2615/1.111, allocations: 2.183 MB / 0.5449 GB, free: 56.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006281/1.112, allocations: 68.58 kB / 0.545 GB, free: 56.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/1.113, allocations: 1.589 MB / 0.5465 GB, free: 56.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.114, allocations: 0.7396 MB / 0.5473 GB, free: 56.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/1.114, allocations: 42.34 kB / 0.5473 GB, free: 56.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/1.115, allocations: 396.2 kB / 0.5477 GB, free: 55.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/1.118, allocations: 1.306 MB / 0.5489 GB, free: 55.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003552/1.121, allocations: 1.737 MB / 0.5506 GB, free: 55.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/1.125, allocations: 1.554 MB / 0.5522 GB, free: 55.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/1.125, allocations: 0 / 0.5522 GB, free: 55.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01077/1.136, allocations: 4.054 MB / 0.5561 GB, free: 55.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/1.136, allocations: 13.95 kB / 0.5561 GB, free: 55.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.842e-05/1.136, allocations: 17.53 kB / 0.5561 GB, free: 55.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003181/1.139, allocations: 0.758 MB / 0.5569 GB, free: 55.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/1.143, allocations: 0.5285 MB / 0.5574 GB, free: 55.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.158, allocations: 8.943 MB / 0.5661 GB, free: 51.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/1.161, allocations: 116.9 kB / 0.5663 GB, free: 51.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005454/1.162, allocations: 86.48 kB / 0.5663 GB, free: 51.15 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (248): * Single equations (assignments): 243 * 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 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003835/1.166, allocations: 1.211 MB / 0.5675 GB, free: 51.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.167, allocations: 281.6 kB / 0.5678 GB, free: 50.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.178, allocations: 3.771 MB / 0.5715 GB, free: 50.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/1.178, allocations: 27.25 kB / 0.5715 GB, free: 50.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.147e-05/1.178, allocations: 10.06 kB / 0.5715 GB, free: 50.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.028e-05/1.178, allocations: 10.17 kB / 0.5715 GB, free: 50.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02456/1.203, allocations: 8.058 MB / 0.5794 GB, free: 49.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.203, allocations: 6.625 kB / 0.5794 GB, free: 49.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003185/1.206, allocations: 397.4 kB / 0.5798 GB, free: 49.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003811/1.21, allocations: 0.8143 MB / 0.5806 GB, free: 49.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003022/1.21, allocations: 60.95 kB / 0.5806 GB, free: 49.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/1.225, allocations: 10.47 MB / 0.5908 GB, free: 41.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.226, allocations: 6.312 kB / 0.5909 GB, free: 41.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/1.241, allocations: 5.829 MB / 0.5965 GB, free: 39.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002714/1.243, allocations: 0.6457 MB / 0.5972 GB, free: 38.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.244, allocations: 53.23 kB / 0.5972 GB, free: 38.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/1.247, allocations: 129.6 kB / 0.5974 GB, free: 38.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006771/1.248, allocations: 178.2 kB / 0.5975 GB, free: 38.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003057/1.248, allocations: 61.06 kB / 0.5976 GB, free: 38.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005278/1.254, allocations: 1.688 MB / 0.5992 GB, free: 38.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.254, allocations: 0 / 0.5992 GB, free: 38.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006494/1.26, allocations: 0.8359 MB / 0.6 GB, free: 37.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (178): * Single equations (assignments): 173 * 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.001416/1.262, allocations: 385.3 kB / 0.6004 GB, free: 37.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01077/1.272, allocations: 3.939 MB / 0.6043 GB, free: 36.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.273, allocations: 0 / 0.6043 GB, free: 36.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00636/1.279, allocations: 2.518 MB / 0.6067 GB, free: 34.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00644/1.285, allocations: 0.7369 MB / 0.6074 GB, free: 34.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02467/1.31, allocations: 9.077 MB / 0.6163 GB, free: 30.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006379/1.317, allocations: 2.834 MB / 0.6191 GB, free: 29.01 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005295/1.322, allocations: 0.6871 MB / 0.6197 GB, free: 28.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/1.323, allocations: 171.2 kB / 0.6199 GB, free: 28.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/1.323, allocations: 0 / 0.6199 GB, free: 28.72 MB / 346.7 MB Notification: Performance of Templates: time 0.1139/1.437, allocations: 45.77 MB / 0.6646 GB, free: 9.867 MB / 362.7 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)