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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) 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 4.0.0+maint.om/package.mo): time 0.004319/0.004319, allocations: 170 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03611/0.03611, allocations: 8.799 MB / 24.65 MB, free: 4.098 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 223.2 MB / 250.7 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008419/0.0008417, allocations: 95.81 kB / 304 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 8 kB / 367.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2465, allocations: 52.53 MB / 419.6 MB, free: 48.08 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.386, allocations: 121.5 MB / 0.5284 GB, free: 15.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.3863, allocations: 80.5 kB / 0.5285 GB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3855/0.7718, allocations: 104.5 MB / 0.6305 GB, free: 75.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.7718, allocations: 4 kB / 0.6305 GB, free: 75.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002287/0.7721, allocations: 99.94 kB / 0.6306 GB, free: 75.61 MB / 426.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.01034/0.7824, allocations: 4.707 MB / 0.6352 GB, free: 70.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.7824, allocations: 16.56 kB / 0.6352 GB, free: 70.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004485/0.7869, allocations: 0.9662 MB / 0.6362 GB, free: 69.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007834/0.7948, allocations: 3.988 MB / 0.6401 GB, free: 65.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.795, allocations: 482.4 kB / 0.6405 GB, free: 65.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005125/0.7955, allocations: 411.9 kB / 0.6409 GB, free: 64.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007003/0.8026, allocations: 5.286 MB / 0.6461 GB, free: 59.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.982e-05/0.8026, allocations: 7.938 kB / 0.6461 GB, free: 59.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/0.803, allocations: 172 kB / 0.6463 GB, free: 59.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.883e-05/0.8031, allocations: 176.1 kB / 0.6464 GB, free: 59.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005847/0.8089, allocations: 4.327 MB / 0.6507 GB, free: 54.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02187/0.8308, allocations: 17.88 MB / 0.6681 GB, free: 36.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005335/0.8362, allocations: 8.276 MB / 0.6762 GB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006281/0.8425, allocations: 4.692 MB / 0.6808 GB, free: 22.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/0.844, allocations: 1.327 MB / 0.6821 GB, free: 20.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 2.966e-06/0.844, allocations: 0 / 0.6821 GB, free: 20.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=226): time 0.01494/0.859, allocations: 9.189 MB / 0.6911 GB, free: 11.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.8591, allocations: 338.4 kB / 0.6914 GB, free: 11.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/0.8616, allocations: 2.158 MB / 0.6935 GB, free: 8.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.8617, allocations: 77.69 kB / 0.6936 GB, free: 8.879 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.8629, allocations: 1.906 MB / 0.6954 GB, free: 6.949 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.8633, allocations: 0.751 MB / 0.6962 GB, free: 6.188 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.8634, allocations: 52 kB / 0.6962 GB, free: 6.137 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.8635, allocations: 411.3 kB / 0.6966 GB, free: 5.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.865, allocations: 1.149 MB / 0.6977 GB, free: 4.578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.8667, allocations: 1.894 MB / 0.6996 GB, free: 2.375 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.8684, allocations: 1.423 MB / 0.701 GB, free: 0.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.8684, allocations: 8 kB / 0.701 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.006815/0.8752, allocations: 4.262 MB / 0.7051 GB, free: 12.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002805/0.878, allocations: 8.018 MB / 0.713 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.8781, allocations: 16 kB / 0.713 GB, free: 3.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/0.8807, allocations: 1.064 MB / 0.714 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.8826, allocations: 483.2 kB / 0.7145 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.8975, allocations: 15.04 MB / 0.7292 GB, free: 2.457 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.9, allocations: 175.8 kB / 0.7293 GB, free: 2.285 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.9002, allocations: 104 kB / 0.7294 GB, free: 2.184 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.9002, allocations: 4 kB / 0.7294 GB, free: 2.18 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1839/1.084, allocations: 3.951 MB / 0.7333 GB, free: 97.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.608e-05/1.084, allocations: 19.47 kB / 0.7333 GB, free: 97.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/1.086, allocations: 1.071 MB / 0.7344 GB, free: 97.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/1.088, allocations: 479.1 kB / 0.7348 GB, free: 97.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/1.1, allocations: 15 MB / 0.7495 GB, free: 89.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/1.102, allocations: 169.2 kB / 0.7496 GB, free: 89.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/1.102, allocations: 106.3 kB / 0.7497 GB, free: 89.38 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition1,$whenCondition4,$whenCondition3,$whenCondition2,$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 (274): * Single equations (assignments): 267 * 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%) 26,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002465/1.105, allocations: 1.354 MB / 0.751 GB, free: 89.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004351/1.105, allocations: 281.3 kB / 0.7513 GB, free: 89.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006199/1.111, allocations: 3.558 MB / 0.7548 GB, free: 89.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.112, allocations: 22.16 kB / 0.7548 GB, free: 89.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.112, allocations: 1.531 kB / 0.7548 GB, free: 89.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/1.112, allocations: 9.609 kB / 0.7548 GB, free: 89.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/1.123, allocations: 7.513 MB / 0.7622 GB, free: 88.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.123, allocations: 0 / 0.7622 GB, free: 88.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.124, allocations: 306.5 kB / 0.7625 GB, free: 88.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002804/1.127, allocations: 1.122 MB / 0.7635 GB, free: 88.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/1.127, allocations: 60.77 kB / 0.7636 GB, free: 88.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/1.14, allocations: 12.61 MB / 0.7759 GB, free: 83 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.14, allocations: 1.125 kB / 0.7759 GB, free: 83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006509/1.147, allocations: 5.061 MB / 0.7809 GB, free: 80.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.148, allocations: 0.6152 MB / 0.7815 GB, free: 80.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003596/1.148, allocations: 67.42 kB / 0.7815 GB, free: 80.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.15, allocations: 131.3 kB / 0.7817 GB, free: 80.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004986/1.15, allocations: 247.3 kB / 0.7819 GB, free: 80.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.15, allocations: 62.66 kB / 0.782 GB, free: 80.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002197/1.153, allocations: 1.654 MB / 0.7836 GB, free: 79.74 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.153, allocations: 0 / 0.7836 GB, free: 79.74 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00404/1.157, allocations: 1.545 MB / 0.7851 GB, free: 79.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 152 * 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 60,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005477/1.157, allocations: 408.1 kB / 0.7855 GB, free: 79.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008444/1.166, allocations: 6.821 MB / 0.7921 GB, free: 75.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.166, allocations: 4.5 kB / 0.7921 GB, free: 75.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002884/1.169, allocations: 2.293 MB / 0.7944 GB, free: 74.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/1.171, allocations: 0.6243 MB / 0.795 GB, free: 74.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.183, allocations: 9.484 MB / 0.8042 GB, free: 69.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/1.185, allocations: 2.916 MB / 0.8071 GB, free: 68.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002614/1.188, allocations: 0.708 MB / 0.8078 GB, free: 68.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/1.189, allocations: 180.2 kB / 0.808 GB, free: 68.29 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/1.189, allocations: 0 / 0.808 GB, free: 68.29 MB / 458.7 MB Notification: Performance of Templates: time 0.06781/1.256, allocations: 52.41 MB / 0.8591 GB, free: 29.15 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)