Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=120000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump") translateModel(HanserModelica.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=120000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 173.6 kB / 16.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03861/0.03861, allocations: 8.764 MB / 25.63 MB, free: 3.762 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007512/0.000751, allocations: 93.61 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004029, allocations: 16 kB / 344.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2451, allocations: 49.71 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3293/0.5744, allocations: 121.5 MB / 0.504 GB, free: 103.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5748, allocations: 79.14 kB / 0.504 GB, free: 103.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.224/0.7988, allocations: 104.2 MB / 0.6058 GB, free: 7.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.7989, allocations: 0 / 0.6058 GB, free: 7.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004613/0.7993, allocations: 103.9 kB / 0.6059 GB, free: 7.531 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1073 * Number of variables: 1073 Notification: Performance of Generate backend data structure: time 0.01432/0.8137, allocations: 4.652 MB / 0.6104 GB, free: 2.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.8137, allocations: 19.92 kB / 0.6104 GB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/0.8192, allocations: 0.9632 MB / 0.6114 GB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.8296, allocations: 3.403 MB / 0.6147 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007235/0.8304, allocations: 483 kB / 0.6152 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00199/0.8324, allocations: 408.3 kB / 0.6155 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.8486, allocations: 5.345 MB / 0.6208 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002259/0.8488, allocations: 3.938 kB / 0.6208 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001488/0.8503, allocations: 172 kB / 0.6209 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002289/0.8506, allocations: 172.2 kB / 0.6211 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.8627, allocations: 4.319 MB / 0.6253 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04279/0.9055, allocations: 17.91 MB / 0.6428 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008977/0.9146, allocations: 8.262 MB / 0.6509 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003565/0.9182, allocations: 1.89 MB / 0.6527 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/0.9309, allocations: 5.482 MB / 0.6581 GB, free: 36 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2717/1.203, allocations: 1.258 MB / 0.6593 GB, free: 70.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 5.39e-06/1.203, allocations: 0 / 0.6593 GB, free: 70.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=214): time 0.01706/1.22, allocations: 8.71 MB / 0.6678 GB, free: 69.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/1.22, allocations: 341.3 kB / 0.6681 GB, free: 69.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004033/1.224, allocations: 2.453 MB / 0.6705 GB, free: 69.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/1.224, allocations: 67.36 kB / 0.6706 GB, free: 69.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1.226, allocations: 1.914 MB / 0.6725 GB, free: 68.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006816/1.227, allocations: 0.7179 MB / 0.6732 GB, free: 68.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/1.227, allocations: 56.25 kB / 0.6732 GB, free: 68.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/1.227, allocations: 406.8 kB / 0.6736 GB, free: 67.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/1.229, allocations: 1.1 MB / 0.6747 GB, free: 67.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/1.231, allocations: 1.876 MB / 0.6765 GB, free: 66.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/1.235, allocations: 2.978 MB / 0.6794 GB, free: 66.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.235, allocations: 7.219 kB / 0.6794 GB, free: 66.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=330) (initialization): time 0.007254/1.242, allocations: 4.03 MB / 0.6834 GB, free: 65.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004737/1.243, allocations: 0.6819 MB / 0.684 GB, free: 64.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/1.243, allocations: 26.03 kB / 0.684 GB, free: 64.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/1.245, allocations: 1.023 MB / 0.685 GB, free: 64.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/1.247, allocations: 492 kB / 0.6855 GB, free: 64.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/1.259, allocations: 14.19 MB / 0.6994 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/1.262, allocations: 170.5 kB / 0.6995 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/1.262, allocations: 106.5 kB / 0.6996 GB, free: 56.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/1.262, allocations: 3.812 kB / 0.6996 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005657/1.268, allocations: 3.74 MB / 0.7033 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-05/1.268, allocations: 21.38 kB / 0.7033 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/1.27, allocations: 1.006 MB / 0.7043 GB, free: 56.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/1.272, allocations: 486.9 kB / 0.7048 GB, free: 56.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.284, allocations: 14.19 MB / 0.7186 GB, free: 46.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/1.287, allocations: 155.5 kB / 0.7188 GB, free: 46.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/1.287, allocations: 107.4 kB / 0.7189 GB, free: 46.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002958/1.29, allocations: 1.347 MB / 0.7202 GB, free: 45.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006745/1.291, allocations: 280 kB / 0.7205 GB, free: 45.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005741/1.297, allocations: 3.372 MB / 0.7237 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.297, allocations: 19.97 kB / 0.7238 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.297, allocations: 7.656 kB / 0.7238 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/1.297, allocations: 10.03 kB / 0.7238 GB, free: 44.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.308, allocations: 7.219 MB / 0.7308 GB, free: 41.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/1.308, allocations: 3.562 kB / 0.7308 GB, free: 41.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.309, allocations: 287.5 kB / 0.7311 GB, free: 41.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/1.312, allocations: 1.073 MB / 0.7322 GB, free: 41.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/1.312, allocations: 66.12 kB / 0.7322 GB, free: 41.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/1.323, allocations: 11.83 MB / 0.7438 GB, free: 32.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.323, allocations: 4.844 kB / 0.7438 GB, free: 32.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00704/1.33, allocations: 4.715 MB / 0.7484 GB, free: 30.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.332, allocations: 0.6021 MB / 0.749 GB, free: 30.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004784/1.332, allocations: 60.56 kB / 0.749 GB, free: 30.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.334, allocations: 129.9 kB / 0.7492 GB, free: 30.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005167/1.334, allocations: 243.8 kB / 0.7494 GB, free: 30.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/1.335, allocations: 62.41 kB / 0.7494 GB, free: 30.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002417/1.337, allocations: 1.66 MB / 0.7511 GB, free: 29.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.337, allocations: 0 / 0.7511 GB, free: 29.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005617/1.343, allocations: 1.517 MB / 0.7525 GB, free: 29.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007059/1.343, allocations: 407.4 kB / 0.7529 GB, free: 29.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00902/1.352, allocations: 6.576 MB / 0.7594 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.352, allocations: 4 kB / 0.7594 GB, free: 23.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003168/1.356, allocations: 2.253 MB / 0.7616 GB, free: 21.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/1.36, allocations: 0.6489 MB / 0.7622 GB, free: 21.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.375, allocations: 9.437 MB / 0.7714 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/1.377, allocations: 2.836 MB / 0.7742 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002992/1.38, allocations: 0.7086 MB / 0.7749 GB, free: 9.895 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/1.381, allocations: 175.1 kB / 0.775 GB, free: 9.73 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/1.381, allocations: 0 / 0.775 GB, free: 9.73 MB / 426.7 MB Notification: Performance of Templates: time 0.09018/1.471, allocations: 51.48 MB / 0.8253 GB, free: 2.285 MB / 458.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe 2>&1)