Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 108.4 kB / 18.4 MB, free: 4.688 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.001873/0.001874, allocations: 190.1 kB / 19.34 MB, free: 3.766 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.354/1.354, 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.001155/0.001155, allocations: 43.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07244/0.07361, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.1576/0.2312, allocations: 12.81 MB / 388.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006537/0.2378, allocations: 4.245 MB / 392.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.2397, allocations: 67.62 kB / 393 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.2416, allocations: 0.968 MB / 393.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.2443, allocations: 1.178 MB / 395.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009958/0.2453, allocations: 0.5258 MB / 395.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004214/0.2495, allocations: 4.673 MB / 400.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003728/0.2533, allocations: 3.601 MB / 403.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.2567, allocations: 2.118 MB / 406 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003091/0.2598, allocations: 2.558 MB / 408.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006905/0.2605, allocations: 0.5526 MB / 409.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.2617, allocations: 0.6429 MB / 409.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.263, allocations: 1.533 MB / 411.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.2653, allocations: 2.476 MB / 413.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00583/0.2711, allocations: 7.416 MB / 421.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2711, allocations: 0 / 421.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2712, allocations: 4 kB / 421.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.689e-05/0.2712, allocations: 0 / 421.2 MB, free: 2.223 MB / 334.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.007925/0.2791, allocations: 4.693 MB / 425.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2792, allocations: 8.031 kB / 425.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.2804, allocations: 0.4917 MB / 426.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.2841, allocations: 2.408 MB / 428.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.2843, allocations: 271 kB / 429.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005028/0.2848, allocations: 351.9 kB / 429.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007609/0.2925, allocations: 5.017 MB / 434.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.769e-05/0.2925, allocations: 7.922 kB / 434.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003273/0.2929, allocations: 148 kB / 434.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.2931, allocations: 179.1 kB / 434.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006559/0.2996, allocations: 4.291 MB / 439 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0201/0.3197, allocations: 14.73 MB / 453.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004264/0.324, allocations: 4.192 MB / 458 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/0.3271, allocations: 1.998 MB / 460 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.3274, allocations: 131.1 kB / 460.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3274, allocations: 57.22 kB / 460.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.538e-06/0.3274, allocations: 4 kB / 460.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.01887/0.3463, allocations: 10.01 MB / 470.2 MB, free: 320 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3464, allocations: 81.41 kB / 470.2 MB, free: 224 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003319/0.3497, allocations: 2.502 MB / 472.7 MB, free: 13.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.3498, allocations: 61.7 kB / 472.8 MB, free: 13.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.351, allocations: 1.623 MB / 474.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/0.3515, allocations: 0.7316 MB / 475.2 MB, free: 11.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006695/0.3522, allocations: 416.3 kB / 475.6 MB, free: 10.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.3523, allocations: 301.1 kB / 475.9 MB, free: 10.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.3543, allocations: 1.308 MB / 477.2 MB, free: 9.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/0.3566, allocations: 1.786 MB / 478.9 MB, free: 7.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004417/0.361, allocations: 3.212 MB / 482.2 MB, free: 3.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.361, allocations: 8 kB / 482.2 MB, free: 3.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006449/0.3675, allocations: 4.079 MB / 486.2 MB, free: 15.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.3675, allocations: 15.91 kB / 486.3 MB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.3676, allocations: 12 kB / 486.3 MB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.3702, allocations: 0.8753 MB / 487.2 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.3722, allocations: 0.5227 MB / 487.7 MB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009792/0.382, allocations: 9.486 MB / 497.2 MB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.3837, allocations: 115.9 kB / 497.3 MB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.3839, allocations: 80 kB / 497.4 MB, free: 4.195 MB / 414.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.001807/0.3857, allocations: 1.223 MB / 498.6 MB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/0.3862, allocations: 280.6 kB / 498.8 MB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006191/0.3924, allocations: 3.726 MB / 0.4908 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.3924, allocations: 11.97 kB / 0.4908 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3924, allocations: 0 / 0.4908 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.3936, allocations: 0.6382 MB / 0.4914 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/0.394, allocations: 51.92 kB / 0.4915 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.3954, allocations: 123.9 kB / 0.4916 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/0.3957, allocations: 177.7 kB / 0.4918 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007552/0.4033, allocations: 3.953 MB / 0.4956 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006812/0.4101, allocations: 5.038 MB / 0.5005 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001895/0.412, allocations: 1.464 MB / 0.502 GB, free: 3.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002456/0.4145, allocations: 1.734 MB / 0.5037 GB, free: 1.656 MB / 430.1 MB Notification: Performance of Backend: time 1.733e-06/0.4145, allocations: 0 / 0.5037 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005024/0.4195, allocations: 2.893 MB / 0.5065 GB, free: 14.68 MB / 446.1 MB Notification: Performance of SimCode: time 0.01155/0.4311, allocations: 7.812 MB / 0.5141 GB, free: 6.805 MB / 446.1 MB Notification: Performance of Templates: time 0.2252/0.6562, allocations: 46.87 MB / 0.5599 GB, free: 150.8 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)