Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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.00155/0.00155, allocations: 73.97 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.9997/0.9997, allocations: 177.1 MB / 201 MB, free: 5.727 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.001264/0.001264, allocations: 152.7 kB / 257.7 MB, free: 13 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.02316/0.02316, allocations: 6.66 MB / 320.9 MB, free: 26.36 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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 392.9 MB, free: 2.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.474e-05, allocations: 2.312 kB / 392.9 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01366/0.01369, allocations: 15.83 MB / 408.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1332/0.1468, allocations: 5.449 MB / 414.2 MB, free: 69.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.1496, allocations: 119.1 kB / 414.3 MB, free: 69.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002867/0.1524, allocations: 1.225 MB / 415.6 MB, free: 69.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.1571, allocations: 1.597 MB / 417.2 MB, free: 69.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.1594, allocations: 1.018 MB / 418.2 MB, free: 69.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005225/0.1646, allocations: 4.864 MB / 423 MB, free: 66.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/0.1674, allocations: 1.925 MB / 425 MB, free: 65.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.1712, allocations: 3.145 MB / 428.1 MB, free: 64.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002718/0.1739, allocations: 2.143 MB / 430.3 MB, free: 63.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008408/0.1748, allocations: 0.5563 MB / 430.8 MB, free: 63.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1759, allocations: 0.7772 MB / 431.6 MB, free: 63.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005606/0.1765, allocations: 1.286 MB / 432.9 MB, free: 62.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.178, allocations: 1.641 MB / 434.5 MB, free: 61.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002917/0.1809, allocations: 3.807 MB / 438.3 MB, free: 58.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1809, allocations: 0 / 438.3 MB, free: 58.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.1809, allocations: 3.938 kB / 438.3 MB, free: 58.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.1811, allocations: 4 kB / 438.3 MB, free: 58.57 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.005635/0.1867, allocations: 5.021 MB / 443.4 MB, free: 53.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1867, allocations: 11.97 kB / 443.4 MB, free: 53.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/0.1895, allocations: 1.347 MB / 444.7 MB, free: 52.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.1923, allocations: 2.515 MB / 447.2 MB, free: 49.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.1924, allocations: 271.8 kB / 447.5 MB, free: 49.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/0.1928, allocations: 374.9 kB / 447.9 MB, free: 49.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/0.1958, allocations: 2.68 MB / 450.5 MB, free: 46.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.244e-05/0.1959, allocations: 4 kB / 450.5 MB, free: 46.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.196, allocations: 157.1 kB / 450.7 MB, free: 46.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.239e-05/0.1961, allocations: 154.8 kB / 450.8 MB, free: 46.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.1976, allocations: 1.072 MB / 451.9 MB, free: 45.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.2081, allocations: 12.49 MB / 464.4 MB, free: 32.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.2099, allocations: 1.736 MB / 466.1 MB, free: 31.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006364/0.2105, allocations: 0.6425 MB / 466.8 MB, free: 30.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003021/0.2135, allocations: 2.546 MB / 469.3 MB, free: 28.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2135, allocations: 50.39 kB / 469.4 MB, free: 28.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=118): time 2.675e-06/0.2135, allocations: 0 / 469.4 MB, free: 28.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=144): time 0.00432/0.2179, allocations: 3.07 MB / 472.5 MB, free: 25.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.2179, allocations: 72.66 kB / 472.5 MB, free: 24.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.219, allocations: 1.687 MB / 474.2 MB, free: 23.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.2191, allocations: 53.7 kB / 474.3 MB, free: 23.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005937/0.2197, allocations: 1.908 MB / 476.2 MB, free: 21.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.2199, allocations: 0.5347 MB / 476.7 MB, free: 21.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.2203, allocations: 453.3 kB / 477.2 MB, free: 20.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.723e-05/0.2203, allocations: 476.8 kB / 477.6 MB, free: 20.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.2206, allocations: 236.2 kB / 477.8 MB, free: 20 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/0.2211, allocations: 1.385 MB / 479.2 MB, free: 18.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.2224, allocations: 2.136 MB / 481.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.2224, allocations: 8 kB / 481.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.001667/0.2241, allocations: 1.759 MB / 483.1 MB, free: 13.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2241, allocations: 16 kB / 483.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.2241, allocations: 24 kB / 483.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.2245, allocations: 222.1 kB / 483.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/0.2254, allocations: 491.2 kB / 483.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.227, allocations: 2.925 MB / 486.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008008/0.2278, allocations: 87.83 kB / 486.9 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/0.2279, allocations: 80 kB / 487 MB, free: 9.926 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (261): * Single equations (assignments): 259 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006101/0.2285, allocations: 308.4 kB / 487.3 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.2287, allocations: 266.7 kB / 487.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.2298, allocations: 1.001 MB / 488.5 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2298, allocations: 19.94 kB / 488.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2298, allocations: 8 kB / 488.6 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.2298, allocations: 7.969 kB / 488.6 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/0.2328, allocations: 2.935 MB / 491.5 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2328, allocations: 4 kB / 491.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.2334, allocations: 255.7 kB / 491.7 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003481/0.2337, allocations: 159.6 kB / 491.9 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.2338, allocations: 43.67 kB / 491.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.2352, allocations: 2.823 MB / 494.8 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2352, allocations: 7.938 kB / 494.8 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.2366, allocations: 1.447 MB / 496.2 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.2369, allocations: 338.5 kB / 496.6 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.2371, allocations: 35.94 kB / 496.6 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.2375, allocations: 51.97 kB / 496.6 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.2377, allocations: 101.1 kB / 496.7 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.2377, allocations: 31.98 kB / 496.8 MB, free: 148 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007081/0.2384, allocations: 0.8592 MB / 497.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2384, allocations: 0 / 497.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00151/0.2399, allocations: 0.625 MB / 498.3 MB, free: 14.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.re,smee.stator.core.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 (125): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002422/0.2402, allocations: 164.7 kB / 498.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.2417, allocations: 1.306 MB / 499.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2417, allocations: 4 kB / 499.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007247/0.2424, allocations: 0.6822 MB / 0.4887 GB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.2437, allocations: 495.7 kB / 0.4892 GB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006561/0.2502, allocations: 5.343 MB / 0.4944 GB, free: 6.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.2508, allocations: 0.8202 MB / 0.4952 GB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007908/0.2516, allocations: 302.2 kB / 0.4955 GB, free: 5.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008194/0.2525, allocations: 0.5643 MB / 0.496 GB, free: 4.973 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2525, allocations: 0 / 0.496 GB, free: 4.973 MB / 346.7 MB Notification: Performance of Templates: time 0.05009/0.3025, allocations: 30.28 MB / 0.5256 GB, free: 7.152 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6550064273178577]