Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_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.001063/0.001063, allocations: 108 kB / 18.35 MB, free: 4.812 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.001034/0.001034, allocations: 192.2 kB / 19.29 MB, free: 3.887 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.27/1.27, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001189/0.001189, allocations: 52.3 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0747/0.0759, allocations: 46.64 MB / 328.7 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01302/0.08895, allocations: 12.83 MB / 341.6 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006914/0.09589, allocations: 4.242 MB / 345.8 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.09701, allocations: 71.69 kB / 345.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.09892, allocations: 0.9665 MB / 346.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.1013, allocations: 1.177 MB / 348 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008997/0.1022, allocations: 0.5188 MB / 348.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003987/0.1062, allocations: 4.688 MB / 353.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003546/0.1097, allocations: 3.602 MB / 356.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.1127, allocations: 2.113 MB / 358.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/0.1154, allocations: 2.565 MB / 361.5 MB, free: 2.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006737/0.1161, allocations: 0.5508 MB / 362.1 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1172, allocations: 0.6366 MB / 362.7 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.1184, allocations: 1.527 MB / 364.2 MB, free: 52 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.1205, allocations: 2.481 MB / 366.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005653/0.1262, allocations: 7.419 MB / 374.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1262, allocations: 0 / 374.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1262, allocations: 0 / 374.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.411e-05/0.1263, allocations: 0 / 374.1 MB, free: 6.117 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.007936/0.1342, allocations: 4.687 MB / 378.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1343, allocations: 8.031 kB / 378.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.1355, allocations: 0.4955 MB / 379.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1286/0.264, allocations: 2.392 MB / 381.7 MB, free: 48.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.2642, allocations: 269.4 kB / 382 MB, free: 48.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005928/0.2648, allocations: 355.2 kB / 382.3 MB, free: 48.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007584/0.2724, allocations: 5.018 MB / 387.3 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-05/0.2725, allocations: 14.11 kB / 387.3 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/0.2728, allocations: 139 kB / 387.5 MB, free: 46.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.273, allocations: 185.7 kB / 387.7 MB, free: 46.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006308/0.2793, allocations: 4.295 MB / 392 MB, free: 45.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.2961, allocations: 14.73 MB / 406.7 MB, free: 34.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.2993, allocations: 4.193 MB / 410.9 MB, free: 29.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/0.3017, allocations: 2.002 MB / 412.9 MB, free: 27.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.302, allocations: 138.7 kB / 413 MB, free: 27.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.302, allocations: 60.31 kB / 413.1 MB, free: 27.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.228e-06/0.302, allocations: 0 / 413.1 MB, free: 27.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01591/0.3179, allocations: 10.01 MB / 423.1 MB, free: 17.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.318, allocations: 73.41 kB / 423.2 MB, free: 17.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/0.3206, allocations: 2.513 MB / 425.7 MB, free: 15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.3207, allocations: 65.7 kB / 425.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006681/0.3214, allocations: 1.611 MB / 427.3 MB, free: 13.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.3217, allocations: 0.7263 MB / 428.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000565/0.3223, allocations: 424.2 kB / 428.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.152e-05/0.3223, allocations: 301.1 kB / 428.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.3239, allocations: 1.305 MB / 430.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.3256, allocations: 1.779 MB / 431.9 MB, free: 8.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/0.329, allocations: 3.22 MB / 435.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.329, allocations: 4 kB / 435.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005207/0.3342, allocations: 4.064 MB / 439.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3342, allocations: 12 kB / 439.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.3342, allocations: 16.41 kB / 439.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.3366, allocations: 0.8883 MB / 440.1 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.3386, allocations: 0.5188 MB / 440.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.3488, allocations: 9.478 MB / 450.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.3507, allocations: 119.9 kB / 450.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.3509, allocations: 87.98 kB / 450.3 MB, free: 5.551 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.001908/0.3528, allocations: 1.219 MB / 451.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004969/0.3533, allocations: 276.7 kB / 451.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006134/0.3595, allocations: 3.719 MB / 455.5 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.3595, allocations: 7.969 kB / 455.5 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3595, allocations: 0 / 455.5 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.3607, allocations: 0.6384 MB / 456.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003722/0.3611, allocations: 51.98 kB / 456.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.3625, allocations: 119.9 kB / 456.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/0.3628, allocations: 181.7 kB / 456.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008786/0.3716, allocations: 3.95 MB / 460.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0108/0.3824, allocations: 5.042 MB / 465.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003074/0.3856, allocations: 1.464 MB / 466.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004035/0.3896, allocations: 1.731 MB / 468.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of Backend: time 4.21e-07/0.3896, allocations: 0 / 468.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.008061/0.3977, allocations: 2.899 MB / 471.6 MB, free: 116 kB / 350.1 MB Notification: Performance of SimCode: time 0.01335/0.4111, allocations: 7.82 MB / 479.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of Templates: time 0.07079/0.4819, allocations: 46.88 MB / 0.5139 GB, free: 9.348 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1)