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.001372/0.001372, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.375/1.375, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 117.6 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.533e-05/1.537e-05, allocations: 0 / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07791/0.07794, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2787/0.3567, allocations: 106.6 MB / 449.2 MB, free: 5.531 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/0.3571, allocations: 85.89 kB / 449.3 MB, free: 5.488 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4211/0.7782, allocations: 92.75 MB / 0.5293 GB, free: 66.74 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7783, allocations: 3.062 kB / 0.5293 GB, free: 66.74 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003782/0.7787, allocations: 97.67 kB / 0.5294 GB, free: 66.73 MB / 395.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.009253/0.7879, allocations: 3.539 MB / 0.5329 GB, free: 65.47 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.788, allocations: 9.906 kB / 0.5329 GB, free: 65.47 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.7903, allocations: 0.5072 MB / 0.5334 GB, free: 65.24 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005181/0.7955, allocations: 2.552 MB / 0.5359 GB, free: 64.7 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.7957, allocations: 113.9 kB / 0.536 GB, free: 64.7 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008403/0.7965, allocations: 211.6 kB / 0.5362 GB, free: 64.7 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006912/0.8034, allocations: 3.698 MB / 0.5398 GB, free: 64.68 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008446/0.8119, allocations: 4.325 MB / 0.544 GB, free: 64.2 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.472e-05/0.812, allocations: 12.98 kB / 0.5441 GB, free: 64.2 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003914/0.8124, allocations: 3.938 kB / 0.5441 GB, free: 64.2 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.8126, allocations: 178.6 kB / 0.5442 GB, free: 64.19 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02212/0.8347, allocations: 14.24 MB / 0.5581 GB, free: 61.11 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/0.8381, allocations: 4.073 MB / 0.5621 GB, free: 59.13 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/0.8402, allocations: 1.745 MB / 0.5638 GB, free: 58.52 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.8405, allocations: 151.5 kB / 0.564 GB, free: 58.42 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.8405, allocations: 56.25 kB / 0.564 GB, free: 58.36 MB / 395.1 MB Notification: Performance of pre-optimization done (n=201): time 4.658e-06/0.8405, allocations: 0 / 0.564 GB, free: 58.36 MB / 395.1 MB Notification: Performance of matching and sorting (n=221): time 0.01178/0.8523, allocations: 7.206 MB / 0.571 GB, free: 55.41 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.8524, allocations: 80.84 kB / 0.5711 GB, free: 55.34 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.8549, allocations: 1.736 MB / 0.5728 GB, free: 54.63 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.8551, allocations: 25.7 kB / 0.5728 GB, free: 54.6 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008458/0.8559, allocations: 1.613 MB / 0.5744 GB, free: 53.37 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004/0.8563, allocations: 0.7066 MB / 0.5751 GB, free: 52.81 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.8565, allocations: 0 / 0.5751 GB, free: 52.81 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.8566, allocations: 395.9 kB / 0.5755 GB, free: 52.47 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.8579, allocations: 1.193 MB / 0.5767 GB, free: 52.01 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.8593, allocations: 1.611 MB / 0.5782 GB, free: 51.07 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.8609, allocations: 1.437 MB / 0.5796 GB, free: 50.52 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.8609, allocations: 7.109 kB / 0.5796 GB, free: 50.52 MB / 395.1 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.004892/0.8658, allocations: 3.666 MB / 0.5832 GB, free: 49.22 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.8659, allocations: 8.438 kB / 0.5832 GB, free: 49.22 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.8659, allocations: 9.875 kB / 0.5832 GB, free: 49.22 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.8676, allocations: 0.7522 MB / 0.584 GB, free: 48.99 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.8696, allocations: 0.5272 MB / 0.5845 GB, free: 48.97 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00725/0.8769, allocations: 8.36 MB / 0.5926 GB, free: 43.15 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.8786, allocations: 73.45 kB / 0.5927 GB, free: 43.14 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.8788, allocations: 84.56 kB / 0.5928 GB, free: 43.13 MB / 395.1 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 () * 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.0003704/0.8792, allocations: 157.7 kB / 0.5929 GB, free: 43 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000498/0.8797, allocations: 243.5 kB / 0.5932 GB, free: 42.87 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/0.8846, allocations: 3.426 MB / 0.5965 GB, free: 41.57 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.8846, allocations: 26.28 kB / 0.5966 GB, free: 41.57 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.8846, allocations: 3.906 kB / 0.5966 GB, free: 41.57 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.8846, allocations: 21.77 kB / 0.5966 GB, free: 41.57 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.8949, allocations: 7.269 MB / 0.6037 GB, free: 38.69 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.8949, allocations: 3.312 kB / 0.6037 GB, free: 38.69 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.8965, allocations: 402.8 kB / 0.6041 GB, free: 38.65 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/0.8983, allocations: 0.7945 MB / 0.6048 GB, free: 38.42 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.8985, allocations: 21.41 kB / 0.6049 GB, free: 38.41 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007966/0.9065, allocations: 9.821 MB / 0.6144 GB, free: 31.26 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.9065, allocations: 3.719 kB / 0.6145 GB, free: 31.26 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/0.9127, allocations: 5.396 MB / 0.6197 GB, free: 28.79 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.9138, allocations: 0.5972 MB / 0.6203 GB, free: 28.43 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005235/0.9144, allocations: 11.31 kB / 0.6203 GB, free: 28.43 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.9158, allocations: 97.33 kB / 0.6204 GB, free: 28.43 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/0.9161, allocations: 190.4 kB / 0.6206 GB, free: 28.39 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.9162, allocations: 62.58 kB / 0.6206 GB, free: 28.37 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001779/0.918, allocations: 1.309 MB / 0.6219 GB, free: 27.82 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.918, allocations: 0 / 0.6219 GB, free: 27.82 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00228/0.9203, allocations: 0.7203 MB / 0.6226 GB, free: 27.8 MB / 395.1 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 () * 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.0005283/0.9208, allocations: 344.1 kB / 0.623 GB, free: 27.66 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004215/0.9251, allocations: 3.627 MB / 0.6265 GB, free: 24.6 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.9251, allocations: 6.438 kB / 0.6265 GB, free: 24.6 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002793/0.9279, allocations: 2.34 MB / 0.6288 GB, free: 22.46 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.9303, allocations: 0.535 MB / 0.6293 GB, free: 22.04 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009278/0.9396, allocations: 6.262 MB / 0.6354 GB, free: 16.52 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.9415, allocations: 2.84 MB / 0.6382 GB, free: 14.34 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001722/0.9433, allocations: 0.6308 MB / 0.6388 GB, free: 13.89 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.9438, allocations: 158.6 kB / 0.639 GB, free: 13.75 MB / 395.1 MB Notification: Performance of SimCode: time 7.92e-07/0.9438, allocations: 0 / 0.639 GB, free: 13.75 MB / 395.1 MB Notification: Performance of Templates: time 0.2322/1.176, allocations: 35.64 MB / 0.6738 GB, free: 54.06 MB / 395.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)