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.001439/0.001439, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.082/1.082, allocations: 177.2 MB / 200.3 MB, free: 5.723 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.001455/0.001455, allocations: 164.6 kB / 256.9 MB, free: 13.01 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.02712/0.02712, allocations: 6.656 MB / 320.1 MB, free: 26.37 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 1.793e-06/1.793e-06, allocations: 0 / 392.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.888e-05, allocations: 2.312 kB / 392.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01829/0.01832, allocations: 16.54 MB / 408.6 MB, free: 1.645 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1622/0.1805, allocations: 5.602 MB / 414.3 MB, free: 69.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003626/0.1841, allocations: 125.2 kB / 414.4 MB, free: 69.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004156/0.1883, allocations: 1.279 MB / 415.7 MB, free: 69.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005891/0.1942, allocations: 1.687 MB / 417.3 MB, free: 68.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.1972, allocations: 1.084 MB / 418.4 MB, free: 68.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006777/0.204, allocations: 5.293 MB / 423.7 MB, free: 65.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003809/0.2078, allocations: 2.236 MB / 426 MB, free: 64.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006812/0.2146, allocations: 3.555 MB / 429.5 MB, free: 63.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005274/0.2199, allocations: 2.45 MB / 432 MB, free: 61.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.2217, allocations: 0.6126 MB / 432.6 MB, free: 61.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.2246, allocations: 0.8473 MB / 433.4 MB, free: 61.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.2259, allocations: 1.474 MB / 434.9 MB, free: 60.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003462/0.2293, allocations: 1.816 MB / 436.7 MB, free: 59.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005742/0.2351, allocations: 4.279 MB / 441 MB, free: 55.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2351, allocations: 0 / 441 MB, free: 55.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2351, allocations: 4 kB / 441 MB, free: 55.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002077/0.2353, allocations: 3.938 kB / 441 MB, free: 55.15 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.007786/0.2431, allocations: 5.579 MB / 446.6 MB, free: 49.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2431, allocations: 12.03 kB / 446.6 MB, free: 49.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.2463, allocations: 1.448 MB / 448 MB, free: 48.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003626/0.2499, allocations: 2.772 MB / 450.8 MB, free: 45.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.25, allocations: 302.7 kB / 451.1 MB, free: 45.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004593/0.2505, allocations: 399.5 kB / 451.5 MB, free: 44.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004279/0.2548, allocations: 2.942 MB / 454.4 MB, free: 41.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.616e-05/0.2548, allocations: 7.609 kB / 454.4 MB, free: 41.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/0.2551, allocations: 167.9 kB / 454.6 MB, free: 41.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.2552, allocations: 183.8 kB / 454.8 MB, free: 41.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/0.2582, allocations: 1.201 MB / 456 MB, free: 40.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.2749, allocations: 13.41 MB / 469.4 MB, free: 27.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.2771, allocations: 2.279 MB / 471.7 MB, free: 25.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.2786, allocations: 1.22 MB / 472.9 MB, free: 23.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004888/0.2835, allocations: 3.138 MB / 476 MB, free: 20.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.2835, allocations: 58.64 kB / 476.1 MB, free: 20.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 3.958e-06/0.2835, allocations: 0 / 476.1 MB, free: 20.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.005413/0.2889, allocations: 3.035 MB / 479.1 MB, free: 17.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.289, allocations: 76.7 kB / 479.2 MB, free: 17.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.2907, allocations: 1.809 MB / 481 MB, free: 16.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.092e-05/0.2908, allocations: 49.7 kB / 481.1 MB, free: 16.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000781/0.2915, allocations: 2.026 MB / 483.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.2918, allocations: 0.5917 MB / 483.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.2922, allocations: 434.1 kB / 484.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.2922, allocations: 480.8 kB / 484.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.2925, allocations: 236.1 kB / 484.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.2931, allocations: 1.289 MB / 486.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.2943, allocations: 1.704 MB / 487.8 MB, free: 8.684 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/0.2943, allocations: 8 kB / 487.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.002118/0.2964, allocations: 1.725 MB / 489.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.2964, allocations: 16 kB / 489.5 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.2965, allocations: 20 kB / 489.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.2967, allocations: 127 kB / 489.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/0.2976, allocations: 0.507 MB / 490.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.2988, allocations: 2.343 MB / 492.5 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.3, allocations: 87.89 kB / 492.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.3001, allocations: 79.98 kB / 492.7 MB, free: 3.668 MB / 330.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.0009452/0.301, allocations: 305.8 kB / 493 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/0.3015, allocations: 290.5 kB / 493.3 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.3031, allocations: 1.296 MB / 494.6 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.3032, allocations: 16 kB / 494.6 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3032, allocations: 8 kB / 494.6 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3032, allocations: 11.91 kB / 494.6 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004991/0.3082, allocations: 3.259 MB / 497.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3082, allocations: 4 kB / 497.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006445/0.3088, allocations: 263.8 kB / 498.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005759/0.3094, allocations: 264.7 kB / 498.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.3095, allocations: 43.98 kB / 498.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004928/0.3144, allocations: 7.217 MB / 0.4938 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3144, allocations: 0 / 0.4938 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.3173, allocations: 1.761 MB / 0.4955 GB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/0.318, allocations: 374.3 kB / 0.4959 GB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.3182, allocations: 36 kB / 0.4959 GB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.3187, allocations: 59.97 kB / 0.496 GB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.3189, allocations: 125 kB / 0.4961 GB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.319, allocations: 35.98 kB / 0.4961 GB, free: 4.199 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.3203, allocations: 0.9415 MB / 0.497 GB, free: 3.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3203, allocations: 0 / 0.497 GB, free: 3.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001925/0.3222, allocations: 0.6679 MB / 0.4977 GB, free: 2.605 MB / 346.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.0003324/0.3225, allocations: 179.9 kB / 0.4979 GB, free: 2.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.3243, allocations: 1.228 MB / 0.4991 GB, free: 1.176 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.3243, allocations: 4 kB / 0.4991 GB, free: 1.172 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.3254, allocations: 1.143 MB / 0.5002 GB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.3271, allocations: 0.521 MB / 0.5007 GB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009231/0.3363, allocations: 6.055 MB / 0.5066 GB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008021/0.3371, allocations: 0.942 MB / 0.5075 GB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001195/0.3383, allocations: 323.2 kB / 0.5078 GB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008899/0.3392, allocations: 0.5994 MB / 0.5084 GB, free: 7.441 MB / 362.7 MB Notification: Performance of SimCode: time 2.264e-06/0.3392, allocations: 0 / 0.5084 GB, free: 7.441 MB / 362.7 MB Notification: Performance of Templates: time 0.05086/0.3901, allocations: 32.04 MB / 0.5397 GB, free: 7.879 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.033486030064523]