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.002027/0.002027, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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 1.63/1.63, allocations: 177.1 MB / 199.7 MB, free: 5.828 MB / 186.7 MB " [Timeout remaining time 178] 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.002119/0.002119, allocations: 167.2 kB / 256.3 MB, free: 13.18 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.04061/0.04061, allocations: 6.658 MB / 319.4 MB, free: 26.58 MB / 266.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 4.979e-06/4.979e-06, allocations: 3.984 kB / 391 MB, free: 2.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.869e-05, allocations: 2.312 kB / 391 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.02266/0.0227, allocations: 16.12 MB / 407.1 MB, free: 2.695 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1513/0.174, allocations: 5.473 MB / 412.6 MB, free: 69.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.1772, allocations: 119.4 kB / 412.7 MB, free: 69.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004523/0.1817, allocations: 1.223 MB / 413.9 MB, free: 69.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005832/0.1876, allocations: 1.599 MB / 415.5 MB, free: 68.94 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.1908, allocations: 1.028 MB / 416.6 MB, free: 68.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00662/0.1974, allocations: 4.862 MB / 421.4 MB, free: 66.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.2017, allocations: 1.921 MB / 423.3 MB, free: 65.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005971/0.2077, allocations: 3.145 MB / 426.5 MB, free: 64.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004442/0.2121, allocations: 2.131 MB / 428.6 MB, free: 63.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.2136, allocations: 0.556 MB / 429.2 MB, free: 63.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.2164, allocations: 0.7828 MB / 430 MB, free: 63.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.2177, allocations: 1.289 MB / 431.2 MB, free: 62.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.2207, allocations: 1.636 MB / 432.9 MB, free: 61.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006118/0.2268, allocations: 7.465 MB / 440.3 MB, free: 55.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2268, allocations: 0 / 440.3 MB, free: 55.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2268, allocations: 0 / 440.3 MB, free: 55.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001471/0.227, allocations: 0 / 440.3 MB, free: 55.1 MB / 330.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.01114/0.2381, allocations: 5.543 MB / 445.9 MB, free: 49.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2381, allocations: 12.03 kB / 445.9 MB, free: 49.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005019/0.2431, allocations: 1.414 MB / 447.3 MB, free: 48.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005211/0.2484, allocations: 2.677 MB / 450 MB, free: 45.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.2485, allocations: 275 kB / 450.3 MB, free: 45.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006575/0.2492, allocations: 368.3 kB / 450.6 MB, free: 44.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007852/0.257, allocations: 4.972 MB / 455.6 MB, free: 39.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-05/0.2571, allocations: 7.938 kB / 455.6 MB, free: 39.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003114/0.2574, allocations: 160.6 kB / 455.8 MB, free: 39.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.2575, allocations: 155.3 kB / 455.9 MB, free: 39.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005882/0.2634, allocations: 3.515 MB / 459.4 MB, free: 35.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02479/0.2882, allocations: 24.14 MB / 483.6 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00381/0.292, allocations: 2.416 MB / 486 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.2938, allocations: 1.215 MB / 487.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006056/0.2999, allocations: 3.526 MB / 490.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.2999, allocations: 50.7 kB / 490.8 MB, free: 3.512 MB / 330.7 MB Notification: Performance of pre-optimization done (n=133): time 3.106e-06/0.2999, allocations: 4 kB / 490.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.00838/0.3083, allocations: 4.305 MB / 495.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.3084, allocations: 68.72 kB / 495.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003625/0.312, allocations: 2.331 MB / 497.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.3121, allocations: 49.7 kB / 497.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.314, allocations: 1.939 MB / 499.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000655/0.3146, allocations: 0.5412 MB / 0.4883 GB, free: 10.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007545/0.3154, allocations: 485 kB / 0.4887 GB, free: 9.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.3156, allocations: 476.8 kB / 0.4892 GB, free: 9.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.3168, allocations: 0.5427 MB / 0.4897 GB, free: 8.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.319, allocations: 1.673 MB / 0.4914 GB, free: 6.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/0.3226, allocations: 2.416 MB / 0.4937 GB, free: 3.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/0.3227, allocations: 8 kB / 0.4937 GB, free: 3.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004747/0.3274, allocations: 2.253 MB / 0.4959 GB, free: 1.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.3274, allocations: 19.94 kB / 0.4959 GB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.895e-05/0.3275, allocations: 24.59 kB / 0.496 GB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004217/0.3279, allocations: 138 kB / 0.4961 GB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.3297, allocations: 471.2 kB / 0.4966 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.3324, allocations: 2.411 MB / 0.4989 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.3341, allocations: 87.84 kB / 0.499 GB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.3344, allocations: 95.98 kB / 0.4991 GB, free: 14.1 MB / 362.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.002145/0.3365, allocations: 0.9877 MB / 0.5 GB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006262/0.3371, allocations: 246.7 kB / 0.5003 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.3408, allocations: 1.622 MB / 0.5019 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.3408, allocations: 12 kB / 0.5019 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3408, allocations: 7.938 kB / 0.5019 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.3408, allocations: 11.98 kB / 0.5019 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.3515, allocations: 5.1 MB / 0.5069 GB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.3515, allocations: 4 kB / 0.5069 GB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009573/0.3524, allocations: 203.8 kB / 0.5071 GB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/0.3536, allocations: 342.4 kB / 0.5074 GB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.3537, allocations: 35.98 kB / 0.5074 GB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009165/0.3629, allocations: 8.248 MB / 0.5155 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.3629, allocations: 7.938 kB / 0.5155 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/0.3679, allocations: 2.487 MB / 0.5179 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.3691, allocations: 326.5 kB / 0.5182 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.3694, allocations: 31.98 kB / 0.5183 GB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008923/0.3703, allocations: 55.97 kB / 0.5183 GB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.3706, allocations: 109 kB / 0.5184 GB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/0.3707, allocations: 40 kB / 0.5185 GB, free: 9.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002165/0.3728, allocations: 1.29 MB / 0.5197 GB, free: 8.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3728, allocations: 0 / 0.5197 GB, free: 8.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00239/0.3752, allocations: 0.5976 MB / 0.5203 GB, free: 7.824 MB / 378.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.0003799/0.3756, allocations: 166.5 kB / 0.5205 GB, free: 7.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003392/0.379, allocations: 1.757 MB / 0.5222 GB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.379, allocations: 0 / 0.5222 GB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.3811, allocations: 1.354 MB / 0.5235 GB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.3835, allocations: 493.3 kB / 0.524 GB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.3951, allocations: 5.788 MB / 0.5296 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00259/0.3977, allocations: 1.752 MB / 0.5313 GB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001543/0.3992, allocations: 393 kB / 0.5317 GB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.3996, allocations: 140.5 kB / 0.5318 GB, free: 11.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.114e-06/0.3996, allocations: 0 / 0.5318 GB, free: 11.8 MB / 394.7 MB Notification: Performance of Templates: time 0.1649/0.5645, allocations: 26.22 MB / 0.5575 GB, free: 115.8 MB / 394.7 MB " [Timeout remaining time 659] 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: 6.026224970002659]