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.0009369/0.0009369, allocations: 157.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.148/1.148, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001609/0.001609, allocations: 102.6 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.55e-05, allocations: 4 kB / 262.2 MB, free: 3.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2234, allocations: 38.76 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.3427, allocations: 101.4 MB / 402.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.3431, allocations: 86.77 kB / 402.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3943/0.7374, allocations: 93.18 MB / 495.7 MB, free: 55.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7375, allocations: 0 / 495.7 MB, free: 55.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004039/0.7379, allocations: 99.88 kB / 495.8 MB, free: 55.22 MB / 330.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.01034/0.7483, allocations: 3.531 MB / 499.3 MB, free: 51.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.7483, allocations: 12.03 kB / 499.3 MB, free: 51.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/0.7508, allocations: 0.4986 MB / 499.8 MB, free: 51.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004729/0.7556, allocations: 2.512 MB / 0.4906 GB, free: 48.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.7557, allocations: 124 kB / 0.4907 GB, free: 48.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000453/0.7562, allocations: 207.8 kB / 0.4909 GB, free: 48.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005213/0.7614, allocations: 3.681 MB / 0.4945 GB, free: 44.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005572/0.767, allocations: 4.302 MB / 0.4987 GB, free: 40.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.965e-05/0.767, allocations: 7.906 kB / 0.4987 GB, free: 40.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002749/0.7673, allocations: 4 kB / 0.4987 GB, free: 40.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.7674, allocations: 175 kB / 0.4989 GB, free: 39.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01768/0.7851, allocations: 14.17 MB / 0.5127 GB, free: 25.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.7881, allocations: 4.073 MB / 0.5167 GB, free: 21.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.79, allocations: 1.755 MB / 0.5184 GB, free: 19.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.7903, allocations: 147 kB / 0.5185 GB, free: 19.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.7903, allocations: 64.5 kB / 0.5186 GB, free: 19.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=201): time 3.276e-06/0.7903, allocations: 0 / 0.5186 GB, free: 19.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=221): time 0.01061/0.8009, allocations: 7.187 MB / 0.5256 GB, free: 12.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.801, allocations: 77.39 kB / 0.5257 GB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.803, allocations: 1.715 MB / 0.5274 GB, free: 10.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.8031, allocations: 29.7 kB / 0.5274 GB, free: 10.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006784/0.8038, allocations: 1.601 MB / 0.529 GB, free: 8.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.8042, allocations: 0.7119 MB / 0.5297 GB, free: 7.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.8043, allocations: 0 / 0.5297 GB, free: 7.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8044, allocations: 398.5 kB / 0.53 GB, free: 7.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.8057, allocations: 1.191 MB / 0.5312 GB, free: 6.242 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.8072, allocations: 1.615 MB / 0.5328 GB, free: 4.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.8087, allocations: 1.435 MB / 0.5342 GB, free: 3.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.8087, allocations: 4 kB / 0.5342 GB, free: 3.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00482/0.8135, allocations: 3.658 MB / 0.5378 GB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.8136, allocations: 12 kB / 0.5378 GB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.8136, allocations: 12 kB / 0.5378 GB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.8153, allocations: 0.7588 MB / 0.5385 GB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.8174, allocations: 0.5266 MB / 0.539 GB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009132/0.8265, allocations: 8.344 MB / 0.5472 GB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.8287, allocations: 79.86 kB / 0.5473 GB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003293/0.829, allocations: 88 kB / 0.5473 GB, free: 5.156 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 () * 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.0005179/0.8295, allocations: 152.4 kB / 0.5475 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007146/0.8303, allocations: 249.1 kB / 0.5477 GB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005806/0.8361, allocations: 3.419 MB / 0.5511 GB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.8361, allocations: 24 kB / 0.5511 GB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.8361, allocations: 4 kB / 0.5511 GB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.8362, allocations: 15.95 kB / 0.5511 GB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2005/1.037, allocations: 7.259 MB / 0.5582 GB, free: 68.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/1.037, allocations: 3.938 kB / 0.5582 GB, free: 68.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/1.038, allocations: 394 kB / 0.5586 GB, free: 68.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/1.04, allocations: 0.796 MB / 0.5593 GB, free: 68.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/1.04, allocations: 33.44 kB / 0.5594 GB, free: 68.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008307/1.049, allocations: 9.802 MB / 0.569 GB, free: 63.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.049, allocations: 10.59 kB / 0.569 GB, free: 63.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/1.056, allocations: 5.394 MB / 0.5742 GB, free: 62.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.058, allocations: 0.5997 MB / 0.5748 GB, free: 62.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/1.058, allocations: 17.14 kB / 0.5748 GB, free: 62.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.059, allocations: 89.78 kB / 0.5749 GB, free: 62.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/1.06, allocations: 180 kB / 0.5751 GB, free: 62.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.06, allocations: 66.94 kB / 0.5752 GB, free: 62.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001862/1.062, allocations: 1.297 MB / 0.5764 GB, free: 62.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.062, allocations: 0 / 0.5764 GB, free: 62.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002849/1.065, allocations: 0.7153 MB / 0.5771 GB, free: 62.41 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 () * 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.0006876/1.065, allocations: 345 kB / 0.5774 GB, free: 62.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005131/1.071, allocations: 3.625 MB / 0.581 GB, free: 61.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.071, allocations: 0.8438 kB / 0.581 GB, free: 61.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003318/1.074, allocations: 2.357 MB / 0.5833 GB, free: 61.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/1.077, allocations: 0.5211 MB / 0.5838 GB, free: 61.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009876/1.087, allocations: 6.239 MB / 0.5899 GB, free: 59.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/1.089, allocations: 2.837 MB / 0.5927 GB, free: 59.01 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002354/1.092, allocations: 0.633 MB / 0.5933 GB, free: 58.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/1.092, allocations: 159.4 kB / 0.5934 GB, free: 58.95 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/1.092, allocations: 3.172 kB / 0.5934 GB, free: 58.95 MB / 346.7 MB Notification: Performance of Templates: time 0.05166/1.144, allocations: 35.37 MB / 0.628 GB, free: 45.82 MB / 346.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)