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.0009164/0.0009164, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.9813/0.9813, allocations: 177.2 MB / 201 MB, free: 5.707 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.001147/0.001147, allocations: 160.6 kB / 257.7 MB, free: 12.98 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.0296/0.0296, allocations: 6.659 MB / 320.9 MB, free: 26.35 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 1.293e-06/1.293e-06, allocations: 0 / 393 MB, free: 2.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.38e-05, allocations: 6.25 kB / 393 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01203/0.01204, allocations: 15.82 MB / 408.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1223/0.1344, allocations: 5.455 MB / 414.2 MB, free: 69.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.1362, allocations: 117.8 kB / 414.3 MB, free: 69.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.1385, allocations: 1.226 MB / 415.6 MB, free: 69.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.1414, allocations: 1.6 MB / 417.2 MB, free: 69.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.143, allocations: 1.018 MB / 418.2 MB, free: 69.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003865/0.1468, allocations: 4.862 MB / 423.1 MB, free: 66.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.1489, allocations: 1.916 MB / 425 MB, free: 65.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.152, allocations: 3.155 MB / 428.1 MB, free: 64.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.154, allocations: 2.146 MB / 430.3 MB, free: 63.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005495/0.1545, allocations: 0.5558 MB / 430.8 MB, free: 63.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009366/0.1555, allocations: 0.7733 MB / 431.6 MB, free: 63.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005724/0.1561, allocations: 1.287 MB / 432.9 MB, free: 62.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.1574, allocations: 1.64 MB / 434.5 MB, free: 61.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.1599, allocations: 3.808 MB / 438.3 MB, free: 58.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1599, allocations: 4 kB / 438.3 MB, free: 58.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1599, allocations: 0 / 438.3 MB, free: 58.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.238e-05/0.1599, allocations: 0 / 438.3 MB, free: 58.54 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.005065/0.165, allocations: 5.033 MB / 443.4 MB, free: 53.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.165, allocations: 8.031 kB / 443.4 MB, free: 53.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.1676, allocations: 1.342 MB / 444.7 MB, free: 52.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.1699, allocations: 2.512 MB / 447.2 MB, free: 49.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.753e-05/0.17, allocations: 275.8 kB / 447.5 MB, free: 49.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.1703, allocations: 381.6 kB / 447.9 MB, free: 49.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.173, allocations: 2.696 MB / 450.6 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.855e-05/0.173, allocations: 0 / 450.6 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.1732, allocations: 159.7 kB / 450.7 MB, free: 46.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.917e-05/0.1733, allocations: 151.3 kB / 450.9 MB, free: 46.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.1747, allocations: 1.075 MB / 452 MB, free: 45.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00949/0.1842, allocations: 12.78 MB / 464.7 MB, free: 32.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.186, allocations: 1.829 MB / 466.6 MB, free: 30.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007464/0.1867, allocations: 0.7227 MB / 467.3 MB, free: 30.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002756/0.1895, allocations: 2.652 MB / 469.9 MB, free: 27.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1895, allocations: 46.7 kB / 470 MB, free: 27.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=133): time 2.845e-06/0.1895, allocations: 3.938 kB / 470 MB, free: 27.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.003407/0.1929, allocations: 2.711 MB / 472.7 MB, free: 24.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.1929, allocations: 64.72 kB / 472.8 MB, free: 24.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.1939, allocations: 1.569 MB / 474.3 MB, free: 23.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.194, allocations: 49.7 kB / 474.4 MB, free: 23.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/0.1946, allocations: 1.829 MB / 476.2 MB, free: 21.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.1948, allocations: 0.5113 MB / 476.7 MB, free: 21.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/0.1951, allocations: 393.2 kB / 477.1 MB, free: 20.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.1951, allocations: 476.8 kB / 477.6 MB, free: 20.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.1954, allocations: 199.8 kB / 477.8 MB, free: 20.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.1959, allocations: 1.285 MB / 479 MB, free: 18.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009503/0.1968, allocations: 1.63 MB / 480.7 MB, free: 16.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.1968, allocations: 4 kB / 480.7 MB, free: 16.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.001401/0.1982, allocations: 1.54 MB / 482.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.1983, allocations: 23.88 kB / 482.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.1983, allocations: 24 kB / 482.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.1985, allocations: 120.4 kB / 482.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008117/0.1993, allocations: 455.3 kB / 482.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009169/0.2002, allocations: 2.256 MB / 485.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.2008, allocations: 71.89 kB / 485.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/0.2009, allocations: 83.3 kB / 485.2 MB, free: 11.66 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.0004899/0.2014, allocations: 290.6 kB / 485.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.2016, allocations: 250.6 kB / 485.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.2028, allocations: 1.104 MB / 486.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2028, allocations: 12 kB / 486.9 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2028, allocations: 8 kB / 486.9 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.2028, allocations: 11.91 kB / 486.9 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.206, allocations: 3.467 MB / 490.4 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.206, allocations: 4 kB / 490.4 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.2064, allocations: 208 kB / 490.6 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004326/0.2068, allocations: 259.7 kB / 490.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.2069, allocations: 35.98 kB / 490.9 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/0.2097, allocations: 7.133 MB / 498 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2097, allocations: 4 kB / 498 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.2114, allocations: 1.55 MB / 499.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.2119, allocations: 316.4 kB / 499.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.212, allocations: 31.98 kB / 499.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.2124, allocations: 55.92 kB / 499.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.2126, allocations: 109 kB / 0.4883 GB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.2126, allocations: 28 kB / 0.4884 GB, free: 12.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006582/0.2133, allocations: 0.82 MB / 0.4892 GB, free: 12.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2133, allocations: 0 / 0.4892 GB, free: 12.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001409/0.2147, allocations: 0.5938 MB / 0.4897 GB, free: 11.47 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.0002714/0.215, allocations: 177.7 kB / 0.4899 GB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.2162, allocations: 1.115 MB / 0.491 GB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2162, allocations: 4.125 kB / 0.491 GB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.2177, allocations: 1.068 MB / 0.492 GB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.2193, allocations: 0.4902 MB / 0.4925 GB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007893/0.2272, allocations: 5.337 MB / 0.4977 GB, free: 3.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.2279, allocations: 0.8068 MB / 0.4985 GB, free: 2.355 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009204/0.2288, allocations: 281.2 kB / 0.4988 GB, free: 2.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007869/0.2296, allocations: 0.5565 MB / 0.4993 GB, free: 1.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/0.2296, allocations: 0 / 0.4993 GB, free: 1.52 MB / 346.7 MB Notification: Performance of Templates: time 0.04304/0.2726, allocations: 28.76 MB / 0.5274 GB, free: 5.223 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.633279588073492]