Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.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.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001408/0.001408, allocations: 185.5 kB / 8.354 MB, free: 0.7305 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.407/1.407, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001668/0.001668, allocations: 119.9 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.35e-05/1.353e-05, allocations: 4 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07433/0.07436, allocations: 44.5 MB / 342.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4149, allocations: 106.7 MB / 449.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4152, allocations: 82.02 kB / 449.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2555/0.6707, allocations: 92.92 MB / 0.5296 GB, free: 6.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.6707, allocations: 0 / 0.5296 GB, free: 6.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003565/0.6711, allocations: 95.86 kB / 0.5297 GB, free: 6.789 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.008709/0.6798, allocations: 3.537 MB / 0.5331 GB, free: 3.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6799, allocations: 16.02 kB / 0.5332 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.6818, allocations: 0.5063 MB / 0.5337 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005414/0.6873, allocations: 2.548 MB / 0.5361 GB, free: 68 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1929/0.8802, allocations: 114.3 kB / 0.5363 GB, free: 69.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.8814, allocations: 204 kB / 0.5364 GB, free: 69.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00701/0.8884, allocations: 3.704 MB / 0.5401 GB, free: 69.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007561/0.896, allocations: 4.324 MB / 0.5443 GB, free: 68.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.949e-05/0.8961, allocations: 8.219 kB / 0.5443 GB, free: 68.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.8964, allocations: 3.875 kB / 0.5443 GB, free: 68.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.8966, allocations: 177.2 kB / 0.5445 GB, free: 68.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02224/0.9188, allocations: 14.24 MB / 0.5584 GB, free: 66.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.9219, allocations: 4.073 MB / 0.5623 GB, free: 64.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.9239, allocations: 1.749 MB / 0.5641 GB, free: 64.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.9242, allocations: 146 kB / 0.5642 GB, free: 64.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.9242, allocations: 70.05 kB / 0.5643 GB, free: 64.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 3.868e-06/0.9242, allocations: 0 / 0.5643 GB, free: 64.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.01146/0.9357, allocations: 7.195 MB / 0.5713 GB, free: 63.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.9358, allocations: 76.34 kB / 0.5714 GB, free: 63.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.9382, allocations: 1.742 MB / 0.5731 GB, free: 62.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.9384, allocations: 29.36 kB / 0.5731 GB, free: 62.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009583/0.9393, allocations: 1.599 MB / 0.5747 GB, free: 62.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006042/0.9399, allocations: 0.712 MB / 0.5753 GB, free: 61.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.9401, allocations: 0 / 0.5753 GB, free: 61.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.9402, allocations: 400.3 kB / 0.5757 GB, free: 61.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.9415, allocations: 1.192 MB / 0.5769 GB, free: 61.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.943, allocations: 1.607 MB / 0.5785 GB, free: 61.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.9446, allocations: 1.435 MB / 0.5799 GB, free: 60.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.9446, allocations: 3.312 kB / 0.5799 GB, free: 60.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.004935/0.9495, allocations: 3.669 MB / 0.5835 GB, free: 59.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.9496, allocations: 12.06 kB / 0.5835 GB, free: 59.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.9496, allocations: 9.594 kB / 0.5835 GB, free: 59.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.9512, allocations: 0.7572 MB / 0.5842 GB, free: 59.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.9531, allocations: 0.5306 MB / 0.5847 GB, free: 59.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007221/0.9604, allocations: 8.351 MB / 0.5929 GB, free: 53.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.9623, allocations: 74 kB / 0.593 GB, free: 53.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.9625, allocations: 84.06 kB / 0.593 GB, free: 53.52 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 () * 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.000396/0.9629, allocations: 161.9 kB / 0.5932 GB, free: 53.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.9633, allocations: 249.1 kB / 0.5934 GB, free: 53.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004899/0.9682, allocations: 3.419 MB / 0.5968 GB, free: 52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.9682, allocations: 21.44 kB / 0.5968 GB, free: 52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.9682, allocations: 3.906 kB / 0.5968 GB, free: 52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.9683, allocations: 11.53 kB / 0.5968 GB, free: 52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.9785, allocations: 7.293 MB / 0.6039 GB, free: 49.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.9786, allocations: 3.5 kB / 0.6039 GB, free: 49.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.9801, allocations: 392.4 kB / 0.6043 GB, free: 49.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.9819, allocations: 0.8019 MB / 0.6051 GB, free: 48.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/0.9821, allocations: 22.86 kB / 0.6051 GB, free: 48.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008017/0.9901, allocations: 9.815 MB / 0.6147 GB, free: 41.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9902, allocations: 3.531 kB / 0.6147 GB, free: 41.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00626/0.9964, allocations: 5.391 MB / 0.62 GB, free: 39.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.9977, allocations: 0.5975 MB / 0.6205 GB, free: 39.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/0.998, allocations: 14.8 kB / 0.6206 GB, free: 39.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.9993, allocations: 92.67 kB / 0.6206 GB, free: 39.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/0.9997, allocations: 180.8 kB / 0.6208 GB, free: 39.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.9998, allocations: 66.8 kB / 0.6209 GB, free: 39.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00161/1.001, allocations: 1.31 MB / 0.6222 GB, free: 38.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.001, allocations: 0 / 0.6222 GB, free: 38.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002245/1.004, allocations: 0.7244 MB / 0.6229 GB, free: 38.48 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 () * 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.0005439/1.004, allocations: 347.6 kB / 0.6232 GB, free: 38.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004492/1.009, allocations: 3.626 MB / 0.6267 GB, free: 36.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.009, allocations: 0 / 0.6267 GB, free: 36.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002692/1.011, allocations: 2.35 MB / 0.629 GB, free: 35.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/1.014, allocations: 0.5341 MB / 0.6296 GB, free: 35.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/1.024, allocations: 6.263 MB / 0.6357 GB, free: 29.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/1.026, allocations: 2.84 MB / 0.6384 GB, free: 27.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002093/1.028, allocations: 0.6277 MB / 0.6391 GB, free: 27.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/1.028, allocations: 161.1 kB / 0.6392 GB, free: 26.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/1.028, allocations: 0 / 0.6392 GB, free: 26.91 MB / 394.7 MB Notification: Performance of Templates: time 0.05023/1.078, allocations: 35.64 MB / 0.674 GB, free: 1.941 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1)