Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 109.7 kB / 18.4 MB, free: 4.523 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.001038/0.001038, allocations: 191 kB / 19.34 MB, free: 3.598 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.246/1.246, 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.002005/0.002005, allocations: 47.94 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08417/0.08619, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump): time 0.1565/0.2428, allocations: 17.18 MB / 393 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009138/0.2519, allocations: 5.788 MB / 398.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.2536, allocations: 96.38 kB / 398.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.2563, allocations: 1.275 MB / 400.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.2601, allocations: 1.676 MB / 401.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.2627, allocations: 1.207 MB / 403.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005606/0.2683, allocations: 5.401 MB / 408.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004845/0.2731, allocations: 4.31 MB / 412.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.2771, allocations: 2.444 MB / 415.2 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/0.2812, allocations: 2.781 MB / 418 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008676/0.2821, allocations: 0.6482 MB / 418.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.2838, allocations: 0.8581 MB / 419.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.285, allocations: 1.511 MB / 421 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002683/0.2877, allocations: 2.777 MB / 423.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007218/0.295, allocations: 8.404 MB / 432.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.295, allocations: 0 / 432.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.295, allocations: 0 / 432.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.968e-05/0.2951, allocations: 0 / 432.2 MB, free: 7.184 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.0119/0.307, allocations: 5.725 MB / 437.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.307, allocations: 8.031 kB / 437.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/0.3121, allocations: 1.03 MB / 439 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005061/0.3172, allocations: 3.056 MB / 442 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.3175, allocations: 487.2 kB / 442.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005763/0.3181, allocations: 411.8 kB / 442.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008429/0.3266, allocations: 5.391 MB / 448.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-05/0.3267, allocations: 7.906 kB / 448.3 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003842/0.3271, allocations: 176 kB / 448.5 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.3272, allocations: 164.2 kB / 448.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007379/0.3346, allocations: 4.557 MB / 453.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02444/0.359, allocations: 17.58 MB / 470.8 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007814/0.3669, allocations: 8.25 MB / 479 MB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/0.3699, allocations: 1.866 MB / 480.9 MB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008492/0.3784, allocations: 5.523 MB / 486.4 MB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001972/0.3803, allocations: 1.261 MB / 487.7 MB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=182): time 3.466e-06/0.3804, allocations: 0 / 487.7 MB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=214): time 0.01737/0.3977, allocations: 8.788 MB / 496.5 MB, free: 4.785 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.3979, allocations: 338.4 kB / 496.8 MB, free: 4.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.4011, allocations: 2.488 MB / 499.3 MB, free: 1.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.4013, allocations: 73.7 kB / 499.3 MB, free: 1.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.4028, allocations: 1.925 MB / 0.4895 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/0.4033, allocations: 0.7203 MB / 0.4902 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007252/0.4041, allocations: 465.2 kB / 0.4907 GB, free: 14.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.4042, allocations: 309.1 kB / 0.491 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.406, allocations: 1.117 MB / 0.4921 GB, free: 13.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.4083, allocations: 1.903 MB / 0.4939 GB, free: 11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004131/0.4124, allocations: 3.017 MB / 0.4969 GB, free: 7.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.4125, allocations: 8 kB / 0.4969 GB, free: 7.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006792/0.4193, allocations: 4.051 MB / 0.5008 GB, free: 3.582 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4193, allocations: 16 kB / 0.5008 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/0.4193, allocations: 20 kB / 0.5009 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/0.4218, allocations: 1.013 MB / 0.5018 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.4236, allocations: 487.2 kB / 0.5023 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/0.4394, allocations: 15.53 MB / 0.5175 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.4415, allocations: 159.8 kB / 0.5176 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.4417, allocations: 108 kB / 0.5177 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003548/0.4453, allocations: 2.215 MB / 0.5199 GB, free: 15.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002305/0.4476, allocations: 1.891 MB / 0.5217 GB, free: 12.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003946/0.4516, allocations: 2.994 MB / 0.5247 GB, free: 9.695 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.187e-06/0.4516, allocations: 4 kB / 0.5247 GB, free: 9.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006345/0.4579, allocations: 4.043 MB / 0.5286 GB, free: 5.598 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.458, allocations: 12 kB / 0.5286 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.458, allocations: 27.94 kB / 0.5287 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/0.4603, allocations: 1.001 MB / 0.5296 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.4621, allocations: 487.2 kB / 0.5301 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.4772, allocations: 15.53 MB / 0.5453 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.4796, allocations: 183.8 kB / 0.5454 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.4798, allocations: 108 kB / 0.5455 GB, free: 3.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (274): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 3 systems {(2,22,100.0%), (3,21,100.0%), (1,8,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.0005745/0.4804, allocations: 371.4 kB / 0.5459 GB, free: 3.039 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.4808, allocations: 284.6 kB / 0.5462 GB, free: 2.758 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1624/0.6432, allocations: 3.345 MB / 0.5494 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.967e-05/0.6433, allocations: 10.36 kB / 0.5494 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6433, allocations: 0.875 kB / 0.5494 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.6446, allocations: 0.5994 MB / 0.55 GB, free: 145.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003556/0.645, allocations: 56.09 kB / 0.5501 GB, free: 145.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.6463, allocations: 109.1 kB / 0.5502 GB, free: 145.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003931/0.6467, allocations: 201 kB / 0.5504 GB, free: 145.1 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007072/0.6538, allocations: 3.431 MB / 0.5537 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005628/0.6595, allocations: 4.107 MB / 0.5577 GB, free: 144 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001597/0.6611, allocations: 1.19 MB / 0.5589 GB, free: 143.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002356/0.6634, allocations: 1.687 MB / 0.5605 GB, free: 142.9 MB / 478.1 MB Notification: Performance of Backend: time 4.11e-07/0.6634, allocations: 0 / 0.5605 GB, free: 142.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009136/0.6726, allocations: 5.907 MB / 0.5663 GB, free: 139.7 MB / 478.1 MB Notification: Performance of SimCode: time 0.0113/0.6839, allocations: 8.202 MB / 0.5743 GB, free: 135.8 MB / 478.1 MB Notification: Performance of Templates: time 0.07276/0.7567, allocations: 62.23 MB / 0.6351 GB, free: 83.47 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe 2>&1)