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.001401/0.001401, 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 1.06/1.06, allocations: 177.1 MB / 200.3 MB, free: 5.359 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.001971/0.001971, allocations: 168.6 kB / 256.9 MB, free: 12.79 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.02477/0.02477, allocations: 6.664 MB / 320.1 MB, free: 11.45 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_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.954e-06/1.954e-06, allocations: 0 / 392.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.949e-05, allocations: 2.312 kB / 392.2 MB, free: 3.266 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01451/0.01454, allocations: 15.81 MB / 408 MB, free: 3.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008736/0.02327, allocations: 5.469 MB / 413.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.02578, allocations: 123.3 kB / 413.6 MB, free: 13.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003103/0.02888, allocations: 1.216 MB / 414.8 MB, free: 12.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.03336, allocations: 1.603 MB / 416.4 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.03545, allocations: 1.021 MB / 417.4 MB, free: 9.914 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004969/0.04042, allocations: 4.867 MB / 422.3 MB, free: 5.02 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.04277, allocations: 1.924 MB / 424.2 MB, free: 3.031 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.04666, allocations: 3.142 MB / 427.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002553/0.04921, allocations: 2.143 MB / 429.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000914/0.05013, allocations: 0.5585 MB / 430.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.05127, allocations: 0.7731 MB / 430.8 MB, free: 12.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000728/0.052, allocations: 1.285 MB / 432.1 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.05379, allocations: 1.641 MB / 433.8 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003841/0.05763, allocations: 3.808 MB / 437.6 MB, free: 5.648 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.05763, allocations: 0 / 437.6 MB, free: 5.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05763, allocations: 0 / 437.6 MB, free: 5.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.776e-05/0.05772, allocations: 0 / 437.6 MB, free: 5.648 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.006689/0.06441, allocations: 5.033 MB / 442.6 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.06445, allocations: 12.02 kB / 442.6 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1382/0.2027, allocations: 1.336 MB / 443.9 MB, free: 137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004201/0.2069, allocations: 2.508 MB / 446.4 MB, free: 136.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.2071, allocations: 273.3 kB / 446.7 MB, free: 136.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00055/0.2076, allocations: 372.5 kB / 447.1 MB, free: 136.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004166/0.2118, allocations: 2.684 MB / 449.8 MB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.82e-05/0.2119, allocations: 14.89 kB / 449.8 MB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.2121, allocations: 150.8 kB / 449.9 MB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.2122, allocations: 152.5 kB / 450.1 MB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.2147, allocations: 1.07 MB / 451.1 MB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.2296, allocations: 12.49 MB / 463.6 MB, free: 130.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.2317, allocations: 1.724 MB / 465.4 MB, free: 130.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000794/0.2325, allocations: 0.6484 MB / 466 MB, free: 130.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003594/0.2361, allocations: 2.57 MB / 468.6 MB, free: 128.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.2361, allocations: 52.06 kB / 468.6 MB, free: 128.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 2.955e-06/0.2361, allocations: 3.156 kB / 468.6 MB, free: 128.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=144): time 0.005115/0.2412, allocations: 3.064 MB / 471.7 MB, free: 127.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.2412, allocations: 66.47 kB / 471.8 MB, free: 127.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.2428, allocations: 1.693 MB / 473.5 MB, free: 126.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.2428, allocations: 53.7 kB / 473.5 MB, free: 126.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.2435, allocations: 1.911 MB / 475.4 MB, free: 124.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.2438, allocations: 0.5385 MB / 476 MB, free: 124.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.2442, allocations: 450.6 kB / 476.4 MB, free: 123.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.2442, allocations: 480.3 kB / 476.9 MB, free: 123.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.2445, allocations: 235.6 kB / 477.1 MB, free: 123.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.2452, allocations: 1.386 MB / 478.5 MB, free: 121.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.2465, allocations: 2.13 MB / 480.6 MB, free: 118.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.2465, allocations: 10.52 kB / 480.6 MB, free: 118.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.002036/0.2486, allocations: 1.749 MB / 482.4 MB, free: 117.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2486, allocations: 16 kB / 482.4 MB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.2486, allocations: 36.52 kB / 482.4 MB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004543/0.2491, allocations: 213.7 kB / 482.6 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008425/0.2499, allocations: 490.8 kB / 483.1 MB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.2516, allocations: 2.929 MB / 486 MB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009669/0.2525, allocations: 79.91 kB / 486.1 MB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.2526, allocations: 91.98 kB / 486.2 MB, free: 113.5 MB / 410.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.000713/0.2533, allocations: 304.7 kB / 486.5 MB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.2535, allocations: 258.6 kB / 486.8 MB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.2547, allocations: 1.011 MB / 487.8 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2547, allocations: 12 kB / 487.8 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2547, allocations: 4 kB / 487.8 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2547, allocations: 7.969 kB / 487.8 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003297/0.258, allocations: 2.932 MB / 490.7 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.258, allocations: 0 / 490.7 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/0.2585, allocations: 258 kB / 491 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/0.2589, allocations: 172.9 kB / 491.1 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.259, allocations: 35.98 kB / 491.2 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.2604, allocations: 2.834 MB / 494 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2604, allocations: 0 / 494 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.2618, allocations: 1.459 MB / 495.5 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.2622, allocations: 340.8 kB / 495.8 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.2623, allocations: 32 kB / 495.8 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.2628, allocations: 51.98 kB / 495.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2629, allocations: 101.1 kB / 496 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.2629, allocations: 35.45 kB / 496 MB, free: 103.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005931/0.2635, allocations: 0.8542 MB / 496.9 MB, free: 103 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2635, allocations: 0 / 496.9 MB, free: 103 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001445/0.265, allocations: 0.6328 MB / 497.5 MB, free: 102.4 MB / 410.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.0002155/0.2652, allocations: 167.3 kB / 497.7 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.2664, allocations: 1.309 MB / 499 MB, free: 101 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2664, allocations: 0 / 499 MB, free: 101 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.267, allocations: 0.6773 MB / 499.7 MB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.2681, allocations: 0.4983 MB / 0.4884 GB, free: 99.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006479/0.2746, allocations: 5.336 MB / 0.4936 GB, free: 94.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.2751, allocations: 0.8202 MB / 0.4944 GB, free: 93.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009638/0.2761, allocations: 294.2 kB / 0.4947 GB, free: 93.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007424/0.2768, allocations: 0.5682 MB / 0.4953 GB, free: 92.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.913e-06/0.2768, allocations: 0 / 0.4953 GB, free: 92.77 MB / 410.7 MB Notification: Performance of Templates: time 0.03799/0.3148, allocations: 29.76 MB / 0.5243 GB, free: 63.58 MB / 410.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.6875156010501087]