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.0008554/0.0008554, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.9734/0.9734, allocations: 177.2 MB / 200.3 MB, free: 5.379 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.001794/0.001794, allocations: 163.2 kB / 257 MB, free: 12.82 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.02467/0.02467, allocations: 6.658 MB / 266.9 MB, free: 3.066 MB / 250.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.483e-06/1.483e-06, allocations: 0 / 285.8 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.729e-05, allocations: 2.312 kB / 285.8 MB, free: 212 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.1199/0.1199, allocations: 15.85 MB / 301.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00961/0.1295, allocations: 5.69 MB / 307.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1309, allocations: 121 kB / 307.4 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.1327, allocations: 1.273 MB / 308.7 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.135, allocations: 1.588 MB / 310.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1362, allocations: 1.025 MB / 311.3 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.1388, allocations: 4.869 MB / 316.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.1407, allocations: 1.967 MB / 318.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.1434, allocations: 3.166 MB / 321.3 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.1452, allocations: 2.147 MB / 323.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004569/0.1457, allocations: 0.5547 MB / 324 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.1467, allocations: 0.7847 MB / 324.8 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006576/0.1474, allocations: 1.285 MB / 326.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.1485, allocations: 1.641 MB / 327.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.1514, allocations: 3.816 MB / 331.6 MB, free: 284 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1514, allocations: 0 / 331.6 MB, free: 284 kB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1514, allocations: 0 / 331.6 MB, free: 284 kB / 282.7 MB Notification: Performance of Transformations before backend: time 3.369e-05/0.1514, allocations: 0 / 331.6 MB, free: 284 kB / 282.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.005755/0.1571, allocations: 4.767 MB / 336.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1572, allocations: 12.03 kB / 336.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/0.1602, allocations: 1.292 MB / 337.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.1626, allocations: 1.719 MB / 339.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.1627, allocations: 283.8 kB / 339.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.163, allocations: 368.4 kB / 340 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.1657, allocations: 2.749 MB / 342.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.339e-05/0.1657, allocations: 11.83 kB / 342.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.1659, allocations: 148 kB / 342.9 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.482e-05/0.166, allocations: 155.3 kB / 343 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.1675, allocations: 1.064 MB / 344.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009938/0.1775, allocations: 10.14 MB / 354.2 MB, free: 8.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.1793, allocations: 1.672 MB / 355.9 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007516/0.18, allocations: 0.6599 MB / 356.6 MB, free: 6.652 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002776/0.1828, allocations: 2.141 MB / 358.7 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1828, allocations: 47.88 kB / 358.8 MB, free: 4.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=133): time 2.705e-06/0.1828, allocations: 0 / 358.8 MB, free: 4.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=137): time 0.003839/0.1867, allocations: 2.485 MB / 361.2 MB, free: 1.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.1867, allocations: 64.72 kB / 361.3 MB, free: 1.832 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009428/0.1876, allocations: 1.34 MB / 362.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.1877, allocations: 57.64 kB / 362.7 MB, free: 440 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005916/0.1883, allocations: 1.502 MB / 364.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.1885, allocations: 0.4919 MB / 364.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.1888, allocations: 363.1 kB / 365.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.1889, allocations: 301.1 kB / 365.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.1891, allocations: 210.7 kB / 365.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.1897, allocations: 0.932 MB / 366.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.191, allocations: 1.329 MB / 367.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.191, allocations: 8 kB / 367.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.001278/0.1923, allocations: 1.243 MB / 369.1 MB, free: 9.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1923, allocations: 16 kB / 369.1 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.1923, allocations: 20 kB / 369.1 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.1925, allocations: 113 kB / 369.2 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009535/0.1935, allocations: 499.2 kB / 369.7 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009389/0.1944, allocations: 1.664 MB / 371.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.195, allocations: 75.94 kB / 371.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.195, allocations: 79.98 kB / 371.5 MB, free: 6.801 MB / 330.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.0004638/0.1955, allocations: 243.9 kB / 371.7 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.1957, allocations: 163.9 kB / 371.9 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1967, allocations: 0.9254 MB / 372.8 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.1968, allocations: 19.94 kB / 372.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1968, allocations: 4 kB / 372.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.1968, allocations: 11.95 kB / 372.9 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.1997, allocations: 2.619 MB / 375.5 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1997, allocations: 0 / 375.5 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.2003, allocations: 273.4 kB / 375.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/0.2007, allocations: 245.1 kB / 376 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.2008, allocations: 31.98 kB / 376 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.2036, allocations: 5.211 MB / 381.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2036, allocations: 0 / 381.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.2052, allocations: 1.293 MB / 382.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.2055, allocations: 202.7 kB / 382.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.2057, allocations: 28 kB / 382.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.206, allocations: 51.97 kB / 382.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.2062, allocations: 109 kB / 382.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.2062, allocations: 24 kB / 382.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005351/0.2068, allocations: 0.6595 MB / 383.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2068, allocations: 0 / 383.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001183/0.2079, allocations: 0.5976 MB / 384.2 MB, free: 9.68 MB / 346.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.0002206/0.2082, allocations: 148.4 kB / 384.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009995/0.2092, allocations: 0.98 MB / 385.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.255e-05/0.2092, allocations: 25.81 kB / 385.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006938/0.2099, allocations: 0.8461 MB / 386.2 MB, free: 7.629 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.2109, allocations: 0.4886 MB / 386.7 MB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005957/0.2169, allocations: 5.186 MB / 391.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.2174, allocations: 0.6663 MB / 392.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006973/0.2181, allocations: 285.2 kB / 392.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007578/0.2189, allocations: 495.1 kB / 393.3 MB, free: 416 kB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2189, allocations: 0 / 393.3 MB, free: 416 kB / 346.7 MB Notification: Performance of Templates: time 0.03578/0.2547, allocations: 28.47 MB / 421.8 MB, free: 4.41 MB / 378.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4388881898485124]