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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9976/0.9976, allocations: 177.2 MB / 200.3 MB, free: 5.355 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 159.3 kB / 256.9 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02524/0.02524, allocations: 6.66 MB / 320.1 MB, free: 11.46 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 392.2 MB, free: 3.277 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.334e-05, allocations: 6.312 kB / 392.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01193/0.01195, allocations: 15.81 MB / 408 MB, free: 3.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008739/0.02069, allocations: 5.473 MB / 413.5 MB, free: 13.9 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.02325, allocations: 119.3 kB / 413.6 MB, free: 13.78 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.0259, allocations: 1.223 MB / 414.8 MB, free: 12.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.02991, allocations: 1.603 MB / 416.4 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.03173, allocations: 1.009 MB / 417.4 MB, free: 9.926 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004608/0.03634, allocations: 4.878 MB / 422.3 MB, free: 5.023 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.03883, allocations: 1.924 MB / 424.2 MB, free: 3.035 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.04277, allocations: 3.146 MB / 427.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.04557, allocations: 2.147 MB / 429.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.04663, allocations: 0.5547 MB / 430.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.04836, allocations: 0.7691 MB / 430.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008466/0.04921, allocations: 1.293 MB / 432.1 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.05138, allocations: 1.633 MB / 433.7 MB, free: 9.473 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.0559, allocations: 3.816 MB / 437.6 MB, free: 5.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.05591, allocations: 0 / 437.6 MB, free: 5.645 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.05591, allocations: 0 / 437.6 MB, free: 5.645 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001529/0.05606, allocations: 0 / 437.6 MB, free: 5.645 MB / 410.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.007232/0.06329, allocations: 5.037 MB / 442.6 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.06334, allocations: 8.031 kB / 442.6 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1631/0.2265, allocations: 1.335 MB / 443.9 MB, free: 136.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/0.2302, allocations: 2.512 MB / 446.5 MB, free: 136.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.2304, allocations: 276.1 kB / 446.7 MB, free: 136.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005636/0.231, allocations: 372.1 kB / 447.1 MB, free: 136.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/0.2348, allocations: 2.701 MB / 449.8 MB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.516e-05/0.2349, allocations: 13.34 kB / 449.8 MB, free: 136 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.2351, allocations: 148.7 kB / 449.9 MB, free: 136 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.2352, allocations: 154.4 kB / 450.1 MB, free: 136 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.2373, allocations: 1.07 MB / 451.2 MB, free: 136 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.2506, allocations: 12.79 MB / 464 MB, free: 130.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.2525, allocations: 1.819 MB / 465.8 MB, free: 129.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/0.2533, allocations: 0.723 MB / 466.5 MB, free: 129.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003366/0.2567, allocations: 2.676 MB / 469.2 MB, free: 128.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.2567, allocations: 49.48 kB / 469.2 MB, free: 128.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=133): time 2.675e-06/0.2567, allocations: 0 / 469.2 MB, free: 128.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.004379/0.2611, allocations: 2.703 MB / 471.9 MB, free: 127.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.2611, allocations: 67.94 kB / 472 MB, free: 127.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.2623, allocations: 1.566 MB / 473.6 MB, free: 126.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.2624, allocations: 49.7 kB / 473.6 MB, free: 126.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006102/0.263, allocations: 1.831 MB / 475.4 MB, free: 124.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.2632, allocations: 0.5086 MB / 475.9 MB, free: 124.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.2635, allocations: 399.9 kB / 476.3 MB, free: 123.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.2635, allocations: 476.8 kB / 476.8 MB, free: 123.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.2638, allocations: 203.2 kB / 477 MB, free: 123.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.2643, allocations: 1.271 MB / 478.3 MB, free: 121.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.2653, allocations: 1.628 MB / 479.9 MB, free: 119.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.2653, allocations: 8 kB / 479.9 MB, free: 119.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.001428/0.2667, allocations: 1.554 MB / 481.5 MB, free: 118.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2668, allocations: 16 kB / 481.5 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.2668, allocations: 24.59 kB / 481.5 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.267, allocations: 114.1 kB / 481.6 MB, free: 118 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.2677, allocations: 448.2 kB / 482 MB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009331/0.2686, allocations: 2.261 MB / 484.3 MB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/0.2693, allocations: 79.98 kB / 484.4 MB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.2694, allocations: 79.97 kB / 484.5 MB, free: 115.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005592/0.2699, allocations: 288.5 kB / 484.7 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.2701, allocations: 246.7 kB / 485 MB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.2712, allocations: 1.104 MB / 486.1 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2712, allocations: 12 kB / 486.1 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.2712, allocations: 15.94 kB / 486.1 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.2713, allocations: 7.969 kB / 486.1 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/0.2747, allocations: 3.474 MB / 489.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2747, allocations: 7.828 kB / 489.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.2751, allocations: 202.7 kB / 489.8 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/0.2756, allocations: 253.4 kB / 490.1 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/0.2756, allocations: 35.98 kB / 490.1 MB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.2787, allocations: 7.143 MB / 497.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2787, allocations: 4 kB / 497.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.2805, allocations: 1.559 MB / 498.8 MB, free: 101 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.2809, allocations: 310.6 kB / 499.1 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.2811, allocations: 31.98 kB / 499.1 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.2816, allocations: 51.94 kB / 499.2 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.2817, allocations: 108.7 kB / 499.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.2818, allocations: 31.98 kB / 499.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006727/0.2825, allocations: 0.8145 MB / 0.4884 GB, free: 99.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2825, allocations: 4 kB / 0.4884 GB, free: 99.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001708/0.2842, allocations: 0.5976 MB / 0.489 GB, free: 99.13 MB / 410.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,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.2844, allocations: 166.5 kB / 0.4892 GB, free: 98.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.2856, allocations: 1.11 MB / 0.4902 GB, free: 97.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2856, allocations: 4 kB / 0.4902 GB, free: 97.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.2864, allocations: 1.075 MB / 0.4913 GB, free: 96.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.2878, allocations: 0.4928 MB / 0.4918 GB, free: 96.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006671/0.2945, allocations: 5.327 MB / 0.497 GB, free: 91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.2951, allocations: 0.8107 MB / 0.4978 GB, free: 90.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008037/0.2959, allocations: 281.2 kB / 0.498 GB, free: 89.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000797/0.2967, allocations: 0.5526 MB / 0.4986 GB, free: 89.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.001e-06/0.2967, allocations: 2.734 kB / 0.4986 GB, free: 89.33 MB / 410.7 MB Notification: Performance of Templates: time 0.03904/0.3357, allocations: 28.31 MB / 0.5262 GB, free: 61.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.740126021206379]