Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_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.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_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.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 113.9 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 208 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2197, allocations: 50.56 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01336/0.2331, allocations: 12.9 MB / 422.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006424/0.2396, allocations: 4.261 MB / 427.2 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008363/0.2404, allocations: 83.62 kB / 427.2 MB, free: 256 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.2423, allocations: 1.013 MB / 428.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.2445, allocations: 1.239 MB / 429.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.2453, allocations: 0.5149 MB / 430 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004031/0.2494, allocations: 4.661 MB / 434.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003744/0.2531, allocations: 3.69 MB / 438.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.256, allocations: 2.139 MB / 440.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.2589, allocations: 2.557 MB / 443.1 MB, free: 336 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000707/0.2597, allocations: 0.5508 MB / 443.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.2608, allocations: 0.656 MB / 444.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.2621, allocations: 1.516 MB / 445.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.2643, allocations: 2.493 MB / 448.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006311/0.2707, allocations: 7.463 MB / 455.7 MB, free: 3.609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2707, allocations: 4 kB / 455.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2707, allocations: 0 / 455.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.864e-05/0.2708, allocations: 0 / 455.7 MB, free: 3.605 MB / 366.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.008081/0.2789, allocations: 4.819 MB / 460.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2789, allocations: 8.031 kB / 460.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.2803, allocations: 0.5487 MB / 461.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003855/0.2842, allocations: 2.616 MB / 463.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.2844, allocations: 267 kB / 464 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005056/0.2849, allocations: 351.9 kB / 464.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007318/0.2922, allocations: 5.025 MB / 469.4 MB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.017e-05/0.2923, allocations: 11.88 kB / 469.4 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003202/0.2927, allocations: 156 kB / 469.5 MB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.2928, allocations: 179.1 kB / 469.7 MB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006578/0.2994, allocations: 4.291 MB / 474 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02006/0.3195, allocations: 14.76 MB / 488.7 MB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004253/0.3238, allocations: 4.198 MB / 492.9 MB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/0.3269, allocations: 1.995 MB / 494.9 MB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.3272, allocations: 131.1 kB / 495.1 MB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.3272, allocations: 72.42 kB / 495.1 MB, free: 11.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.697e-06/0.3272, allocations: 0 / 495.1 MB, free: 11.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.0184/0.3456, allocations: 10.01 MB / 0.4933 GB, free: 1.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3457, allocations: 73.41 kB / 0.4934 GB, free: 1.129 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/0.349, allocations: 2.522 MB / 0.4958 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.3492, allocations: 69.64 kB / 0.4959 GB, free: 14.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.3503, allocations: 1.658 MB / 0.4975 GB, free: 12.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005296/0.3508, allocations: 0.7708 MB / 0.4983 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006459/0.3515, allocations: 412.5 kB / 0.4987 GB, free: 11.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.3516, allocations: 305.1 kB / 0.499 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.3535, allocations: 1.305 MB / 0.5002 GB, free: 10.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.3557, allocations: 1.771 MB / 0.502 GB, free: 8.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004294/0.36, allocations: 3.211 MB / 0.5051 GB, free: 4.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/0.3601, allocations: 4 kB / 0.5051 GB, free: 4.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00643/0.3665, allocations: 4.088 MB / 0.5091 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3665, allocations: 14.81 kB / 0.5091 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.3666, allocations: 12 kB / 0.5091 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/0.3694, allocations: 0.8873 MB / 0.51 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.3715, allocations: 0.5227 MB / 0.5105 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.3819, allocations: 9.482 MB / 0.5198 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.3836, allocations: 111.9 kB / 0.5199 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.3838, allocations: 95.98 kB / 0.52 GB, free: 5.02 MB / 446.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.00196/0.3857, allocations: 1.212 MB / 0.5211 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004215/0.3862, allocations: 298.1 kB / 0.5214 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005959/0.3921, allocations: 3.711 MB / 0.525 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.3922, allocations: 11.95 kB / 0.5251 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3922, allocations: 0 / 0.5251 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.3932, allocations: 0.6475 MB / 0.5257 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/0.3936, allocations: 55.92 kB / 0.5257 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.3949, allocations: 115.9 kB / 0.5259 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003689/0.3953, allocations: 185.7 kB / 0.526 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007538/0.4028, allocations: 3.961 MB / 0.5299 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006819/0.4096, allocations: 5.059 MB / 0.5348 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00187/0.4115, allocations: 1.468 MB / 0.5363 GB, free: 4.207 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002338/0.4139, allocations: 1.739 MB / 0.538 GB, free: 2.457 MB / 462.1 MB Notification: Performance of Backend: time 3.61e-07/0.4139, allocations: 0 / 0.538 GB, free: 2.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.173/0.5868, allocations: 2.899 MB / 0.5408 GB, free: 126.3 MB / 462.1 MB Notification: Performance of SimCode: time 0.01181/0.5987, allocations: 7.975 MB / 0.5486 GB, free: 123 MB / 462.1 MB Notification: Performance of Templates: time 0.06114/0.6599, allocations: 47.9 MB / 0.5954 GB, free: 81.25 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1)