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 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_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 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03902/0.03902, allocations: 8.702 MB / 21.96 MB, free: 3.367 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.316/1.316, allocations: 221.4 MB / 246 MB, free: 3.566 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.0008758/0.0008758, allocations: 91.95 kB / 299.1 MB, free: 3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.53e-05, allocations: 4 kB / 359.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2192, allocations: 52.53 MB / 412 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3322/0.5515, allocations: 117 MB / 0.5167 GB, free: 90.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.5517, allocations: 75.34 kB / 0.5167 GB, free: 90.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5879/1.14, allocations: 156 MB / 0.6691 GB, free: 65.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.846e-06/1.14, allocations: 2.781 kB / 0.6691 GB, free: 65.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004473/1.14, allocations: 91.62 kB / 0.6691 GB, free: 65.21 MB / 442.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.01102/1.151, allocations: 3.482 MB / 0.6725 GB, free: 64.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.151, allocations: 11.62 kB / 0.6726 GB, free: 64.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004923/1.156, allocations: 0.8757 MB / 0.6734 GB, free: 63.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008191/1.164, allocations: 3.526 MB / 0.6769 GB, free: 63.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/1.165, allocations: 275.6 kB / 0.6771 GB, free: 63.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007198/1.165, allocations: 367 kB / 0.6775 GB, free: 63.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007969/1.173, allocations: 4.54 MB / 0.6819 GB, free: 62.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/1.173, allocations: 9.062 kB / 0.6819 GB, free: 62.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/1.174, allocations: 160.3 kB / 0.6821 GB, free: 62.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/1.174, allocations: 153.3 kB / 0.6822 GB, free: 62.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006238/1.18, allocations: 3.578 MB / 0.6857 GB, free: 62.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/1.204, allocations: 15.65 MB / 0.701 GB, free: 59.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004704/1.209, allocations: 6.109 MB / 0.7069 GB, free: 54.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/1.211, allocations: 1.333 MB / 0.7082 GB, free: 54.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006494/1.217, allocations: 4.109 MB / 0.7123 GB, free: 53.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/1.217, allocations: 44.09 kB / 0.7123 GB, free: 53.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 5.32e-06/1.217, allocations: 2.688 kB / 0.7123 GB, free: 53.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=131): time 0.005752/1.223, allocations: 3.837 MB / 0.7161 GB, free: 52.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/1.223, allocations: 66.53 kB / 0.7161 GB, free: 52.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/1.225, allocations: 1.704 MB / 0.7178 GB, free: 51.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/1.225, allocations: 57.67 kB / 0.7178 GB, free: 51.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000722/1.226, allocations: 1.663 MB / 0.7195 GB, free: 51.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/1.226, allocations: 466 kB / 0.7199 GB, free: 50.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/1.226, allocations: 38.44 kB / 0.7199 GB, free: 50.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/1.227, allocations: 379.2 kB / 0.7203 GB, free: 50.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/1.227, allocations: 0.6083 MB / 0.7209 GB, free: 50.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/1.228, allocations: 1.294 MB / 0.7222 GB, free: 49.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/1.229, allocations: 0.8636 MB / 0.723 GB, free: 49.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/1.229, allocations: 3.938 kB / 0.723 GB, free: 49.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.002993/1.232, allocations: 2.346 MB / 0.7253 GB, free: 48.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/1.232, allocations: 14.84 kB / 0.7253 GB, free: 48.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.232, allocations: 25.17 kB / 0.7253 GB, free: 48.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/1.233, allocations: 148.7 kB / 0.7255 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.234, allocations: 441.3 kB / 0.7259 GB, free: 48.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/1.236, allocations: 2 MB / 0.7279 GB, free: 46.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.237, allocations: 81.22 kB / 0.7279 GB, free: 46.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.237, allocations: 84.75 kB / 0.728 GB, free: 46.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (232): * Single equations (assignments): 230 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002364/1.237, allocations: 237.3 kB / 0.7282 GB, free: 46.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/1.238, allocations: 215 kB / 0.7284 GB, free: 46.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/1.24, allocations: 1.914 MB / 0.7303 GB, free: 45.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.24, allocations: 11.22 kB / 0.7303 GB, free: 45.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.24, allocations: 9.766 kB / 0.7303 GB, free: 45.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.24, allocations: 6.938 kB / 0.7303 GB, free: 45.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006257/1.247, allocations: 4.778 MB / 0.735 GB, free: 43.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.247, allocations: 2.906 kB / 0.735 GB, free: 43.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/1.248, allocations: 193 kB / 0.7352 GB, free: 43.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007262/1.248, allocations: 325.7 kB / 0.7355 GB, free: 43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-05/1.248, allocations: 42.17 kB / 0.7355 GB, free: 42.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004929/1.253, allocations: 6.458 MB / 0.7418 GB, free: 37.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.253, allocations: 5.969 kB / 0.7419 GB, free: 37.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/1.257, allocations: 2.883 MB / 0.7447 GB, free: 36.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009909/1.258, allocations: 424.3 kB / 0.7451 GB, free: 35.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/1.258, allocations: 35.97 kB / 0.7451 GB, free: 35.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000899/1.259, allocations: 55.25 kB / 0.7452 GB, free: 35.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/1.259, allocations: 96.33 kB / 0.7453 GB, free: 35.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/1.259, allocations: 33.59 kB / 0.7453 GB, free: 35.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001704/1.261, allocations: 1.289 MB / 0.7465 GB, free: 35.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.261, allocations: 0 / 0.7465 GB, free: 35.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002063/1.263, allocations: 0.6443 MB / 0.7472 GB, free: 35.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005061/1.264, allocations: 430.7 kB / 0.7476 GB, free: 34.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/1.266, allocations: 1.763 MB / 0.7493 GB, free: 34.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.266, allocations: 3.969 kB / 0.7493 GB, free: 34.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.267, allocations: 1.157 MB / 0.7504 GB, free: 33.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.27, allocations: 0.5352 MB / 0.751 GB, free: 33.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00906/1.279, allocations: 4.749 MB / 0.7556 GB, free: 31.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/1.281, allocations: 2.458 MB / 0.758 GB, free: 30.22 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001898/1.283, allocations: 458.4 kB / 0.7584 GB, free: 30.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/1.283, allocations: 137.3 kB / 0.7586 GB, free: 30.14 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/1.283, allocations: 0 / 0.7586 GB, free: 30.14 MB / 442.7 MB Notification: Performance of Templates: time 0.04508/1.328, allocations: 30.1 MB / 0.788 GB, free: 19.32 MB / 442.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)