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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 108.9 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 47.94 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1197, allocations: 46.62 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01367/0.1334, allocations: 12.72 MB / 338.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009751/0.1432, allocations: 4.203 MB / 342.9 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.1464, allocations: 59.69 kB / 342.9 MB, free: 3.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00427/0.1507, allocations: 0.8509 MB / 343.8 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.1573, allocations: 1.08 MB / 344.9 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.1599, allocations: 471.6 kB / 345.3 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008251/0.1681, allocations: 5.366 MB / 350.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004998/0.1732, allocations: 2.969 MB / 353.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005727/0.1789, allocations: 1.812 MB / 355.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006679/0.1856, allocations: 2.452 MB / 357.9 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.187, allocations: 340 kB / 358.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.1891, allocations: 443.8 kB / 358.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.191, allocations: 1.297 MB / 360 MB, free: 2.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005349/0.1964, allocations: 2.235 MB / 362.2 MB, free: 432 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00982/0.2062, allocations: 7.158 MB / 369.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.2063, allocations: 4 kB / 369.4 MB, free: 9.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2063, allocations: 0 / 369.4 MB, free: 9.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002785/0.2066, allocations: 0 / 369.4 MB, free: 9.238 MB / 318.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.01481/0.2214, allocations: 4.679 MB / 374.1 MB, free: 4.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.2215, allocations: 12.03 kB / 374.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.2237, allocations: 0.4955 MB / 374.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005896/0.2296, allocations: 2.376 MB / 376.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.2299, allocations: 267 kB / 377.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007572/0.2307, allocations: 355.9 kB / 377.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2459/0.4765, allocations: 5.017 MB / 382.6 MB, free: 47.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/0.4768, allocations: 7.109 kB / 382.6 MB, free: 47.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004707/0.4773, allocations: 146.9 kB / 382.7 MB, free: 47.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003137/0.4776, allocations: 182.6 kB / 382.9 MB, free: 47.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.4914, allocations: 4.292 MB / 387.2 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02636/0.5178, allocations: 14.92 MB / 402.1 MB, free: 36.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/0.5219, allocations: 4.187 MB / 406.3 MB, free: 33.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.5244, allocations: 2.006 MB / 408.3 MB, free: 31.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.5248, allocations: 127.6 kB / 408.4 MB, free: 30.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.5248, allocations: 60.5 kB / 408.5 MB, free: 30.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.569e-06/0.5248, allocations: 0 / 408.5 MB, free: 30.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01815/0.543, allocations: 10 MB / 418.5 MB, free: 20.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.5431, allocations: 77.34 kB / 418.6 MB, free: 20.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/0.547, allocations: 2.51 MB / 421.1 MB, free: 18.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.5472, allocations: 62.47 kB / 421.1 MB, free: 18.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008126/0.548, allocations: 1.622 MB / 422.8 MB, free: 16.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004801/0.5485, allocations: 0.7341 MB / 423.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006536/0.5492, allocations: 416.3 kB / 423.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.5492, allocations: 301.1 kB / 424.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.5509, allocations: 1.301 MB / 425.5 MB, free: 13.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.5527, allocations: 1.779 MB / 427.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003667/0.5564, allocations: 3.22 MB / 430.5 MB, free: 8.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.5564, allocations: 4 kB / 430.5 MB, free: 8.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00567/0.5621, allocations: 4.082 MB / 434.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.5622, allocations: 12.06 kB / 434.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.5622, allocations: 16 kB / 434.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/0.5647, allocations: 0.8716 MB / 435.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.5665, allocations: 0.5279 MB / 436 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009205/0.5758, allocations: 8.73 MB / 444.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/0.5782, allocations: 119.8 kB / 444.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/0.5786, allocations: 91.98 kB / 444.9 MB, free: 9.496 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002662/0.5813, allocations: 1.215 MB / 446.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/0.5824, allocations: 276.7 kB / 446.4 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007763/0.5901, allocations: 3.715 MB / 450.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.5902, allocations: 24 kB / 450.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.898e-05/0.5903, allocations: 4 kB / 450.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.434e-05/0.5903, allocations: 19.89 kB / 450.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.6067, allocations: 8.09 MB / 458.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/0.6068, allocations: 4 kB / 458.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.6085, allocations: 387.8 kB / 458.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003507/0.6121, allocations: 0.9255 MB / 459.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000334/0.6124, allocations: 63.91 kB / 459.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/0.625, allocations: 10.18 MB / 469.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6251, allocations: 4.031 kB / 469.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009444/0.6345, allocations: 5.512 MB / 475.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/0.6364, allocations: 0.6304 MB / 476 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008298/0.6373, allocations: 51.98 kB / 476 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/0.639, allocations: 119.9 kB / 476.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000472/0.6395, allocations: 181.7 kB / 476.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/0.6397, allocations: 59.98 kB / 476.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003188/0.6429, allocations: 1.727 MB / 478.1 MB, free: 7.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6429, allocations: 0 / 478.1 MB, free: 7.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00323/0.6461, allocations: 0.8033 MB / 478.9 MB, free: 6.789 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,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,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000724/0.6469, allocations: 229.9 kB / 479.1 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007783/0.6547, allocations: 3.884 MB / 483 MB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.6547, allocations: 4 kB / 483 MB, free: 2.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00452/0.6592, allocations: 2.47 MB / 485.5 MB, free: 56 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006109/0.6654, allocations: 0.7529 MB / 486.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.6833, allocations: 9.346 MB / 495.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004545/0.6879, allocations: 2.784 MB / 498.4 MB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003388/0.6913, allocations: 0.6788 MB / 499.1 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006557/0.692, allocations: 179.4 kB / 499.2 MB, free: 2.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.835e-06/0.692, allocations: 0 / 499.2 MB, free: 2.242 MB / 382.1 MB Notification: Performance of Templates: time 0.3264/1.018, allocations: 44.53 MB / 0.531 GB, free: 115.4 MB / 414.1 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)