Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.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.001512/0.001512, allocations: 93.06 kB / 19.65 MB, free: 276 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 0.9797/0.9797, allocations: 177.1 MB / 200 MB, free: 5.828 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.00139/0.00139, allocations: 164.6 kB / 256.6 MB, free: 13.12 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.02338/0.02338, allocations: 6.676 MB / 319.8 MB, free: 26.48 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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 391.7 MB, free: 2.527 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.218e-05, allocations: 2.312 kB / 391.7 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01462/0.01465, allocations: 16.93 MB / 408.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1636/0.1783, allocations: 5.647 MB / 414.2 MB, free: 68.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004005/0.1823, allocations: 129.5 kB / 414.4 MB, free: 68.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004004/0.1863, allocations: 1.279 MB / 415.6 MB, free: 68.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.1925, allocations: 1.696 MB / 417.3 MB, free: 68.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.1958, allocations: 1.093 MB / 418.4 MB, free: 68.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009537/0.2054, allocations: 5.298 MB / 423.7 MB, free: 65.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004544/0.2099, allocations: 2.228 MB / 426 MB, free: 64.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007184/0.2171, allocations: 3.564 MB / 429.5 MB, free: 62.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004556/0.2217, allocations: 2.426 MB / 431.9 MB, free: 61.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001821/0.2235, allocations: 0.6148 MB / 432.6 MB, free: 61.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.2266, allocations: 0.8389 MB / 433.4 MB, free: 61.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.228, allocations: 1.486 MB / 434.9 MB, free: 60.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003459/0.2315, allocations: 1.814 MB / 436.7 MB, free: 59.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005719/0.2372, allocations: 4.279 MB / 441 MB, free: 55.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.2372, allocations: 0 / 441 MB, free: 55.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2372, allocations: 4 kB / 441 MB, free: 55.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001942/0.2374, allocations: 0 / 441 MB, free: 55.22 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01007/0.2475, allocations: 5.682 MB / 446.7 MB, free: 49.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.2476, allocations: 16.03 kB / 446.7 MB, free: 49.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/0.251, allocations: 1.514 MB / 448.2 MB, free: 47.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003738/0.2547, allocations: 2.896 MB / 451.1 MB, free: 45.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.2549, allocations: 302.8 kB / 451.4 MB, free: 44.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.2552, allocations: 411 kB / 451.8 MB, free: 44.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004189/0.2594, allocations: 3.195 MB / 455 MB, free: 41.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.791e-05/0.2595, allocations: 7.953 kB / 455 MB, free: 41.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.2597, allocations: 169.5 kB / 455.2 MB, free: 40.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.2598, allocations: 176 kB / 455.3 MB, free: 40.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.2625, allocations: 1.53 MB / 456.9 MB, free: 39.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/0.2772, allocations: 13.48 MB / 470.3 MB, free: 25.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/0.2799, allocations: 2.436 MB / 472.8 MB, free: 23.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.2816, allocations: 1.325 MB / 474.1 MB, free: 21.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004233/0.2858, allocations: 3.215 MB / 477.3 MB, free: 18.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2859, allocations: 50.7 kB / 477.4 MB, free: 18.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 4.087e-06/0.2859, allocations: 4 kB / 477.4 MB, free: 18.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.006485/0.2924, allocations: 3.768 MB / 481.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.2924, allocations: 68.72 kB / 481.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.2941, allocations: 1.854 MB / 483.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.2942, allocations: 57.7 kB / 483.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007665/0.295, allocations: 2.006 MB / 485.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.2952, allocations: 0.5932 MB / 485.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.2956, allocations: 421.7 kB / 486.1 MB, free: 9.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.2956, allocations: 484.7 kB / 486.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.2961, allocations: 308.1 kB / 486.9 MB, free: 8.938 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.2968, allocations: 1.351 MB / 488.2 MB, free: 7.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.2982, allocations: 1.822 MB / 490.1 MB, free: 4.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.2982, allocations: 4 kB / 490.1 MB, free: 4.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.002237/0.3005, allocations: 1.879 MB / 491.9 MB, free: 2.977 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.3005, allocations: 16 kB / 492 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.3005, allocations: 20.53 kB / 492 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.3008, allocations: 133.5 kB / 492.1 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.3018, allocations: 0.5226 MB / 492.6 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.3032, allocations: 2.387 MB / 495 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3042, allocations: 107.8 kB / 495.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.3043, allocations: 99.98 kB / 495.2 MB, free: 15.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (267): * Single equations (assignments): 265 * 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.0008979/0.3052, allocations: 299.8 kB / 495.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.3055, allocations: 286.5 kB / 495.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.3075, allocations: 1.411 MB / 497.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.3076, allocations: 16 kB / 497.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.3076, allocations: 11.94 kB / 497.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3076, allocations: 11.91 kB / 497.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00601/0.3136, allocations: 4.056 MB / 0.4896 GB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.3136, allocations: 8 kB / 0.4896 GB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.3143, allocations: 267.6 kB / 0.4898 GB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000665/0.315, allocations: 282.6 kB / 0.4901 GB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.3151, allocations: 39.98 kB / 0.4901 GB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005265/0.3203, allocations: 7.385 MB / 0.4973 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3203, allocations: 0 / 0.4973 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.3233, allocations: 1.924 MB / 0.4992 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007967/0.3241, allocations: 402.2 kB / 0.4996 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.3243, allocations: 40 kB / 0.4996 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/0.3248, allocations: 75.94 kB / 0.4997 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/0.3251, allocations: 124 kB / 0.4998 GB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.3251, allocations: 43.98 kB / 0.4999 GB, free: 14.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001544/0.3267, allocations: 1.036 MB / 0.5009 GB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3267, allocations: 0 / 0.5009 GB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001765/0.3285, allocations: 0.6718 MB / 0.5015 GB, free: 12.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,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,mechanicalSensor.flange_a.phi) * 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 (130): * Single equations (assignments): 127 * 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.0003287/0.3288, allocations: 171 kB / 0.5017 GB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.3309, allocations: 1.356 MB / 0.503 GB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3309, allocations: 4.062 kB / 0.503 GB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.3321, allocations: 1.198 MB / 0.5042 GB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.3338, allocations: 0.5228 MB / 0.5047 GB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009488/0.3432, allocations: 6.085 MB / 0.5107 GB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008998/0.3441, allocations: 0.9381 MB / 0.5116 GB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001296/0.3454, allocations: 471 kB / 0.512 GB, free: 1.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.3458, allocations: 160.5 kB / 0.5122 GB, free: 1.637 MB / 362.7 MB Notification: Performance of SimCode: time 2.275e-06/0.3458, allocations: 0 / 0.5122 GB, free: 1.637 MB / 362.7 MB Notification: Performance of Templates: time 0.0444/0.3902, allocations: 31.36 MB / 0.5428 GB, free: 2.715 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.015856860205531]