Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 184.4 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03735/0.03735, allocations: 8.702 MB / 16.57 MB, free: 436 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 221.4 MB / 240.5 MB, free: 8.191 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.0009365/0.0009366, allocations: 93.94 kB / 293.5 MB, free: 7.418 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.133e-06, allocations: 0 / 352.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2871, allocations: 52.54 MB / 404.6 MB, free: 27.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3359/0.6231, allocations: 116.3 MB / 0.5087 GB, free: 50.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.6234, allocations: 82.38 kB / 0.5088 GB, free: 50.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.369/0.9924, allocations: 154 MB / 0.6592 GB, free: 14.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003856/0.9928, allocations: 87.92 kB / 0.6592 GB, free: 13.96 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01326/1.006, allocations: 3.502 MB / 0.6627 GB, free: 10.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.006, allocations: 12.02 kB / 0.6627 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006464/1.013, allocations: 0.8851 MB / 0.6635 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/1.025, allocations: 3.548 MB / 0.667 GB, free: 5.887 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/1.025, allocations: 124 kB / 0.6671 GB, free: 5.766 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/1.027, allocations: 215.9 kB / 0.6673 GB, free: 5.555 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00967/1.037, allocations: 3.408 MB / 0.6707 GB, free: 2.145 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1791/1.216, allocations: 4.019 MB / 0.6746 GB, free: 109.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.281e-05/1.216, allocations: 8.969 kB / 0.6746 GB, free: 109.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/1.216, allocations: 3.438 kB / 0.6746 GB, free: 109.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/1.216, allocations: 154.8 kB / 0.6747 GB, free: 109.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02037/1.237, allocations: 14.77 MB / 0.6892 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/1.238, allocations: 0.9986 MB / 0.6901 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/1.24, allocations: 1.232 MB / 0.6913 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005933/1.246, allocations: 4.141 MB / 0.6954 GB, free: 105 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/1.246, allocations: 45.34 kB / 0.6954 GB, free: 104.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=136): time 3.256e-06/1.246, allocations: 3.469 kB / 0.6954 GB, free: 104.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=163): time 0.009972/1.256, allocations: 4.684 MB / 0.7 GB, free: 104.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/1.256, allocations: 70.28 kB / 0.7001 GB, free: 104 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/1.258, allocations: 1.526 MB / 0.7016 GB, free: 103.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/1.258, allocations: 25.7 kB / 0.7016 GB, free: 103.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/1.259, allocations: 1.452 MB / 0.703 GB, free: 103 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/1.259, allocations: 0.5378 MB / 0.7035 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/1.259, allocations: 0 / 0.7035 GB, free: 102.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/1.259, allocations: 401.1 kB / 0.7039 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/1.26, allocations: 0.7702 MB / 0.7047 GB, free: 102.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/1.262, allocations: 1.501 MB / 0.7061 GB, free: 101.5 MB / 458.7 MB Notification: The following equation is consistent and got removed from the initialization problem: smee.is[2] = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.008405/1.27, allocations: 2.481 MB / 0.7086 GB, free: 101.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.367e-05/1.27, allocations: 7.656 kB / 0.7086 GB, free: 101.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.00479/1.275, allocations: 2.653 MB / 0.7112 GB, free: 101.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.275, allocations: 6.906 kB / 0.7112 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/1.275, allocations: 22.59 kB / 0.7112 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/1.276, allocations: 285.4 kB / 0.7115 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/1.278, allocations: 0.5197 MB / 0.712 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/1.281, allocations: 2.947 MB / 0.7148 GB, free: 99.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.282, allocations: 52.45 kB / 0.7149 GB, free: 99.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.282, allocations: 109.3 kB / 0.715 GB, free: 99.8 MB / 458.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: smee.is[2] = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 273 * 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: 1 * 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: 1 {(2,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003133/1.283, allocations: 171.9 kB / 0.7152 GB, free: 99.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/1.283, allocations: 211 kB / 0.7154 GB, free: 99.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/1.286, allocations: 1.828 MB / 0.7171 GB, free: 99.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/1.286, allocations: 14.38 kB / 0.7172 GB, free: 99.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.286, allocations: 3.531 kB / 0.7172 GB, free: 99.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/1.286, allocations: 11.16 kB / 0.7172 GB, free: 99.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007429/1.294, allocations: 4.832 MB / 0.7219 GB, free: 98.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.294, allocations: 3.906 kB / 0.7219 GB, free: 98.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.295, allocations: 296.7 kB / 0.7222 GB, free: 98.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000608/1.296, allocations: 214.3 kB / 0.7224 GB, free: 98.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.214e-05/1.296, allocations: 17.97 kB / 0.7224 GB, free: 98.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002896/1.299, allocations: 2.829 MB / 0.7252 GB, free: 97.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.299, allocations: 6.781 kB / 0.7252 GB, free: 97.52 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003832/1.303, allocations: 2.911 MB / 0.728 GB, free: 96.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.304, allocations: 449.4 kB / 0.7284 GB, free: 96.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/1.304, allocations: 18.19 kB / 0.7285 GB, free: 96.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.305, allocations: 37.28 kB / 0.7285 GB, free: 96.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/1.305, allocations: 84.36 kB / 0.7286 GB, free: 96.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-05/1.305, allocations: 44.09 kB / 0.7286 GB, free: 96.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001595/1.307, allocations: 1.11 MB / 0.7297 GB, free: 96.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002235/1.309, allocations: 0.5847 MB / 0.7303 GB, free: 96.56 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.is[1],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (143): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004799/1.31, allocations: 349.6 kB / 0.7306 GB, free: 96.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002854/1.313, allocations: 2.087 MB / 0.7326 GB, free: 96.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.313, allocations: 6.812 kB / 0.7327 GB, free: 96.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.314, allocations: 0.9345 MB / 0.7336 GB, free: 96.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/1.316, allocations: 402.7 kB / 0.7339 GB, free: 96.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00943/1.326, allocations: 4.771 MB / 0.7386 GB, free: 94.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/1.328, allocations: 2.653 MB / 0.7412 GB, free: 94.22 MB / 458.7 MB Notification: Performance of SimCode: time 1.283e-06/1.328, allocations: 3.75 kB / 0.7412 GB, free: 94.22 MB / 458.7 MB Notification: Performance of Templates: time 0.04607/1.374, allocations: 28.59 MB / 0.7691 GB, free: 92.94 MB / 458.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1)