Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.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.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 103.7 kB / 18.4 MB, free: 4.672 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.001786/0.001786, allocations: 181.5 kB / 19.34 MB, free: 3.746 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.275/1.275, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.00111/0.00111, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07127/0.07239, allocations: 46.62 MB / 375.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump): time 0.1569/0.2293, allocations: 12.28 MB / 388.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007545/0.2369, allocations: 4.214 MB / 392.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.2391, allocations: 65.22 kB / 392.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.2415, allocations: 0.9058 MB / 393.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.2444, allocations: 1.082 MB / 394.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.2458, allocations: 0.625 MB / 395 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003501/0.2493, allocations: 3.821 MB / 398.8 MB, free: 144 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.2524, allocations: 2.761 MB / 401.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.2548, allocations: 1.7 MB / 403.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.2572, allocations: 2.026 MB / 405.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006109/0.2579, allocations: 434.3 kB / 405.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.2589, allocations: 0.5212 MB / 406.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.2601, allocations: 1.21 MB / 407.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.2621, allocations: 1.952 MB / 409.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.2672, allocations: 5.567 MB / 415 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2672, allocations: 0 / 415 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2672, allocations: 4 kB / 415 MB, free: 7.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-05/0.2673, allocations: 0 / 415 MB, free: 7.012 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: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.007259/0.2745, allocations: 4.053 MB / 419.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2746, allocations: 8.188 kB / 419.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.276, allocations: 495.5 kB / 419.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.2791, allocations: 2.012 MB / 421.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.2794, allocations: 380.6 kB / 421.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004257/0.2798, allocations: 291.9 kB / 422.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005588/0.2854, allocations: 3.709 MB / 425.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.639e-05/0.2855, allocations: 7.891 kB / 425.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/0.2858, allocations: 128 kB / 426.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/0.2859, allocations: 117.5 kB / 426.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004888/0.2908, allocations: 3.07 MB / 429.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01622/0.307, allocations: 11.8 MB / 441.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/0.3102, allocations: 2.817 MB / 443.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.3122, allocations: 1.285 MB / 445.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.3125, allocations: 138.3 kB / 445.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/0.3143, allocations: 1.148 MB / 446.4 MB, free: 8.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=153): time 2.925e-06/0.3143, allocations: 4 kB / 446.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=173): time 0.01972/0.334, allocations: 9.126 MB / 455.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.3341, allocations: 316.7 kB / 455.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/0.3371, allocations: 2.112 MB / 458 MB, free: 12.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.3372, allocations: 65.69 kB / 458.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.3383, allocations: 1.426 MB / 459.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/0.3388, allocations: 0.6082 MB / 460.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006266/0.3394, allocations: 367.5 kB / 460.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.3395, allocations: 309.1 kB / 460.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.3411, allocations: 1.036 MB / 461.8 MB, free: 8.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.3432, allocations: 1.588 MB / 463.4 MB, free: 6.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003634/0.3469, allocations: 2.602 MB / 466 MB, free: 3.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.3469, allocations: 4 kB / 466 MB, free: 3.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005872/0.3528, allocations: 3.544 MB / 469.5 MB, free: 276 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3528, allocations: 16 kB / 469.5 MB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.3528, allocations: 15.94 kB / 469.6 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/0.3555, allocations: 1.088 MB / 470.6 MB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.357, allocations: 387.3 kB / 471 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/0.3723, allocations: 16.08 MB / 487.1 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.3741, allocations: 163.8 kB / 487.3 MB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.3743, allocations: 83.98 kB / 487.3 MB, free: 13.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00263/0.3769, allocations: 1.784 MB / 489.1 MB, free: 11.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001978/0.3789, allocations: 1.584 MB / 490.7 MB, free: 9.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0035/0.3824, allocations: 2.579 MB / 493.3 MB, free: 7.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.127e-06/0.3825, allocations: 4 kB / 493.3 MB, free: 7.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.005694/0.3882, allocations: 3.524 MB / 496.8 MB, free: 3.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3882, allocations: 12 kB / 496.8 MB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.3882, allocations: 16 kB / 496.8 MB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/0.3908, allocations: 1.085 MB / 497.9 MB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.3922, allocations: 383.3 kB / 498.3 MB, free: 2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/0.4072, allocations: 16.06 MB / 0.5023 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.4091, allocations: 179.8 kB / 0.5025 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.4093, allocations: 83.98 kB / 0.5026 GB, free: 0.6992 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].off,loadControl.pulseStart,$PRE.loadControl.pulseStart,$whenCondition1,$whenCondition2,$whenCondition3,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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 {(4,14,100.0%), (1,12,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004331/0.4098, allocations: 335.8 kB / 0.5029 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/0.4101, allocations: 242.5 kB / 0.5031 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006224/0.4164, allocations: 3.302 MB / 0.5063 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.4164, allocations: 11.95 kB / 0.5063 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4164, allocations: 4 kB / 0.5064 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009545/0.4174, allocations: 0.5306 MB / 0.5069 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/0.4178, allocations: 43.98 kB / 0.5069 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.4191, allocations: 127.8 kB / 0.507 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/0.4195, allocations: 177.7 kB / 0.5072 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006949/0.4265, allocations: 3.419 MB / 0.5105 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005342/0.4318, allocations: 3.75 MB / 0.5142 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001539/0.4334, allocations: 1.105 MB / 0.5153 GB, free: 3.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002069/0.4354, allocations: 1.454 MB / 0.5167 GB, free: 2.098 MB / 446.1 MB Notification: Performance of Backend: time 3.81e-07/0.4355, allocations: 3.938 kB / 0.5167 GB, free: 2.094 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00905/0.4445, allocations: 5.595 MB / 0.5222 GB, free: 12.27 MB / 462.1 MB Notification: Performance of SimCode: time 0.009613/0.4541, allocations: 6.583 MB / 0.5286 GB, free: 5.625 MB / 462.1 MB Notification: Performance of Templates: time 0.2296/0.6838, allocations: 50.59 MB / 0.578 GB, free: 143.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1)