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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001027/0.001027, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.302/1.302, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001634/0.001634, allocations: 113.3 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08635, allocations: 44.5 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.268/0.3544, allocations: 107.4 MB / 462.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.3547, allocations: 88.02 kB / 462.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4019/0.7566, allocations: 93.68 MB / 0.5432 GB, free: 81.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.7566, allocations: 3.75 kB / 0.5432 GB, free: 81.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002294/0.7568, allocations: 100.8 kB / 0.5433 GB, free: 81.7 MB / 394.7 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.008281/0.7651, allocations: 3.956 MB / 0.5472 GB, free: 80.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7652, allocations: 7.75 kB / 0.5472 GB, free: 80.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.767, allocations: 0.5009 MB / 0.5476 GB, free: 79.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0049/0.7719, allocations: 2.563 MB / 0.5502 GB, free: 79.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.7721, allocations: 267.4 kB / 0.5504 GB, free: 79.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005443/0.7726, allocations: 354.8 kB / 0.5507 GB, free: 79.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006471/0.7791, allocations: 4.943 MB / 0.5556 GB, free: 78.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.816e-05/0.7792, allocations: 10.12 kB / 0.5556 GB, free: 78.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/0.7795, allocations: 145.6 kB / 0.5557 GB, free: 78.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.7796, allocations: 176.4 kB / 0.5559 GB, free: 78.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005309/0.7849, allocations: 4.057 MB / 0.5599 GB, free: 78.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01795/0.8029, allocations: 14.96 MB / 0.5745 GB, free: 70.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.8061, allocations: 4.235 MB / 0.5786 GB, free: 67.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.8064, allocations: 149.7 kB / 0.5787 GB, free: 67.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.8064, allocations: 50.97 kB / 0.5788 GB, free: 67.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 4.719e-06/0.8064, allocations: 0 / 0.5788 GB, free: 67.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.01737/0.8238, allocations: 10.18 MB / 0.5887 GB, free: 63.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.8239, allocations: 79.78 kB / 0.5888 GB, free: 63.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.827, allocations: 2.205 MB / 0.591 GB, free: 62.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.8272, allocations: 61.33 kB / 0.591 GB, free: 62.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008306/0.828, allocations: 1.606 MB / 0.5926 GB, free: 61.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004313/0.8285, allocations: 0.7419 MB / 0.5933 GB, free: 60.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.8286, allocations: 43.94 kB / 0.5933 GB, free: 60.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8287, allocations: 398.2 kB / 0.5937 GB, free: 60.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.8306, allocations: 1.305 MB / 0.595 GB, free: 59.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/0.8326, allocations: 1.737 MB / 0.5967 GB, free: 58.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.8348, allocations: 1.555 MB / 0.5982 GB, free: 57.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.8348, allocations: 0 / 0.5982 GB, free: 57.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005757/0.8406, allocations: 4.06 MB / 0.6022 GB, free: 54.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.8406, allocations: 9.25 kB / 0.6022 GB, free: 54.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.8407, allocations: 12 kB / 0.6022 GB, free: 54.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.8424, allocations: 0.7543 MB / 0.6029 GB, free: 53.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.8443, allocations: 0.5271 MB / 0.6035 GB, free: 53.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007315/0.8517, allocations: 8.947 MB / 0.6122 GB, free: 44.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.8534, allocations: 118.3 kB / 0.6123 GB, free: 44.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.8536, allocations: 91.94 kB / 0.6124 GB, free: 44.69 MB / 394.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.001984/0.8556, allocations: 1.214 MB / 0.6136 GB, free: 43.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005852/0.8562, allocations: 276.6 kB / 0.6138 GB, free: 43.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005453/0.8617, allocations: 3.777 MB / 0.6175 GB, free: 40.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.8617, allocations: 23.95 kB / 0.6175 GB, free: 40.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.627e-05/0.8618, allocations: 8 kB / 0.6176 GB, free: 40.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.8618, allocations: 10.73 kB / 0.6176 GB, free: 40.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/0.8768, allocations: 8.074 MB / 0.6255 GB, free: 32.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.8768, allocations: 3.984 kB / 0.6255 GB, free: 32.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.8784, allocations: 395.3 kB / 0.6258 GB, free: 32.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/0.8803, allocations: 0.8133 MB / 0.6266 GB, free: 31.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/0.8805, allocations: 55.97 kB / 0.6267 GB, free: 31.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008262/0.8888, allocations: 10.49 MB / 0.6369 GB, free: 20.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8888, allocations: 4 kB / 0.6369 GB, free: 20.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006805/0.8956, allocations: 5.828 MB / 0.6426 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/0.8972, allocations: 0.646 MB / 0.6433 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/0.8975, allocations: 51.98 kB / 0.6433 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.8988, allocations: 127.9 kB / 0.6434 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003455/0.8992, allocations: 185.7 kB / 0.6436 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.8993, allocations: 63.98 kB / 0.6437 GB, free: 13.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002076/0.9014, allocations: 1.703 MB / 0.6453 GB, free: 11.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9014, allocations: 0 / 0.6453 GB, free: 11.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002134/0.9036, allocations: 0.832 MB / 0.6461 GB, free: 10.73 MB / 394.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.0005289/0.9041, allocations: 374.4 kB / 0.6465 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004786/0.9089, allocations: 3.93 MB / 0.6503 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.9089, allocations: 4 kB / 0.6503 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/0.9119, allocations: 2.507 MB / 0.6528 GB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/0.9154, allocations: 0.7469 MB / 0.6535 GB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.929, allocations: 9.104 MB / 0.6624 GB, free: 10 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002605/0.9316, allocations: 2.843 MB / 0.6652 GB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002484/0.9341, allocations: 0.6775 MB / 0.6658 GB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005855/0.9347, allocations: 175.4 kB / 0.666 GB, free: 6.297 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.9348, allocations: 0 / 0.666 GB, free: 6.297 MB / 410.7 MB Notification: Performance of Templates: time 0.2384/1.173, allocations: 46.16 MB / 0.7111 GB, free: 82.94 MB / 410.7 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)