Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001684, allocations: 175.7 kB / 16.11 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.0513/0.0513, allocations: 8.769 MB / 25.64 MB, free: 3.328 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.517/1.517, allocations: 205.4 MB / 233.9 MB, free: 12.4 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.0008021/0.0008023, allocations: 92.67 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007353/0.0007354, allocations: 16 kB / 344.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2843, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.6374, allocations: 117.2 MB / 0.4998 GB, free: 102.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.6377, allocations: 79.53 kB / 0.4998 GB, free: 102.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3453/0.9831, allocations: 155.7 MB / 0.6519 GB, free: 7.684 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.9831, allocations: 0 / 0.6519 GB, free: 7.684 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003797/0.9835, allocations: 87.94 kB / 0.652 GB, free: 7.598 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01336/0.9969, allocations: 3.831 MB / 0.6557 GB, free: 3.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.9969, allocations: 8.031 kB / 0.6557 GB, free: 3.684 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005422/1.002, allocations: 0.8704 MB / 0.6566 GB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2193/1.222, allocations: 2.949 MB / 0.6595 GB, free: 66.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004826/1.222, allocations: 275.3 kB / 0.6597 GB, free: 66.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/1.224, allocations: 365.4 kB / 0.6601 GB, free: 66.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009794/1.234, allocations: 4.655 MB / 0.6646 GB, free: 65.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-05/1.234, allocations: 10.75 kB / 0.6646 GB, free: 65.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004126/1.234, allocations: 155.1 kB / 0.6648 GB, free: 65.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/1.234, allocations: 155.7 kB / 0.6649 GB, free: 65.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00816/1.242, allocations: 3.687 MB / 0.6685 GB, free: 65.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/1.269, allocations: 15.59 MB / 0.6837 GB, free: 62.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004773/1.274, allocations: 6.318 MB / 0.6899 GB, free: 57.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/1.276, allocations: 1.415 MB / 0.6913 GB, free: 57.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007133/1.283, allocations: 4.32 MB / 0.6955 GB, free: 56.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/1.283, allocations: 49.12 kB / 0.6956 GB, free: 56.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 4.488e-06/1.283, allocations: 0 / 0.6956 GB, free: 56.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=196): time 0.01523/1.298, allocations: 7.767 MB / 0.7031 GB, free: 55.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/1.298, allocations: 75.97 kB / 0.7032 GB, free: 55.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/1.301, allocations: 1.914 MB / 0.7051 GB, free: 55.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002116/1.301, allocations: 57.14 kB / 0.7051 GB, free: 55.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009185/1.302, allocations: 1.631 MB / 0.7067 GB, free: 54.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005256/1.303, allocations: 0.6582 MB / 0.7074 GB, free: 54.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/1.303, allocations: 44.06 kB / 0.7074 GB, free: 54.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/1.303, allocations: 401.8 kB / 0.7078 GB, free: 54.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/1.304, allocations: 0.8576 MB / 0.7086 GB, free: 53.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/1.306, allocations: 1.537 MB / 0.7101 GB, free: 52.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/1.309, allocations: 2.59 MB / 0.7127 GB, free: 51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/1.309, allocations: 6.219 kB / 0.7127 GB, free: 51 MB / 426.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.005198/1.314, allocations: 3.26 MB / 0.7159 GB, free: 49.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.314, allocations: 18.12 kB / 0.7159 GB, free: 49.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/1.314, allocations: 21.41 kB / 0.7159 GB, free: 49.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/1.316, allocations: 0.6662 MB / 0.7165 GB, free: 49.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/1.317, allocations: 456.3 kB / 0.717 GB, free: 49.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008421/1.326, allocations: 7.94 MB / 0.7247 GB, free: 44.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/1.328, allocations: 85.58 kB / 0.7248 GB, free: 44.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/1.328, allocations: 99.31 kB / 0.7249 GB, free: 44.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 235 * 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: 2 * 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: 2 {(4,81.2%) 48,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002338/1.33, allocations: 1.097 MB / 0.726 GB, free: 43.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005451/1.331, allocations: 229.8 kB / 0.7262 GB, free: 43.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003985/1.335, allocations: 2.583 MB / 0.7287 GB, free: 42.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.335, allocations: 18.72 kB / 0.7287 GB, free: 42.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.335, allocations: 7.312 kB / 0.7288 GB, free: 42.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/1.335, allocations: 13.55 kB / 0.7288 GB, free: 42.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00865/1.344, allocations: 6.015 MB / 0.7346 GB, free: 39.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.344, allocations: 3.531 kB / 0.7346 GB, free: 39.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.345, allocations: 297.1 kB / 0.7349 GB, free: 39.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/1.346, allocations: 0.5556 MB / 0.7355 GB, free: 39.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.346, allocations: 43.08 kB / 0.7355 GB, free: 39.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00654/1.353, allocations: 6.079 MB / 0.7414 GB, free: 35.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.353, allocations: 0 / 0.7414 GB, free: 35.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/1.358, allocations: 3.81 MB / 0.7452 GB, free: 33.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/1.359, allocations: 0.4987 MB / 0.7457 GB, free: 33.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/1.359, allocations: 46.44 kB / 0.7457 GB, free: 33.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000959/1.36, allocations: 67.27 kB / 0.7458 GB, free: 33.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/1.361, allocations: 149.3 kB / 0.7459 GB, free: 33.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.813e-05/1.361, allocations: 54.89 kB / 0.746 GB, free: 33.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001772/1.363, allocations: 1.29 MB / 0.7472 GB, free: 32.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.363, allocations: 3.375 kB / 0.7472 GB, free: 32.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002884/1.366, allocations: 0.7565 MB / 0.748 GB, free: 32.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,pin2.pin_p.i,pin3.pin_p.i) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 144 * 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 {(5,80.0%) 47} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006944/1.366, allocations: 357 kB / 0.7483 GB, free: 32.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004122/1.37, allocations: 2.902 MB / 0.7511 GB, free: 31.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.37, allocations: 0 / 0.7511 GB, free: 31.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002022/1.372, allocations: 1.491 MB / 0.7526 GB, free: 30.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/1.376, allocations: 0.5548 MB / 0.7531 GB, free: 30.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/1.387, allocations: 7.93 MB / 0.7609 GB, free: 25.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/1.389, allocations: 2.484 MB / 0.7633 GB, free: 23.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002017/1.391, allocations: 0.495 MB / 0.7638 GB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/1.392, allocations: 151.1 kB / 0.7639 GB, free: 22.68 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/1.392, allocations: 0 / 0.7639 GB, free: 22.68 MB / 426.7 MB Notification: Performance of Templates: time 0.05494/1.447, allocations: 35.99 MB / 0.7991 GB, free: 12 kB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1)