Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.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.001338/0.001338, allocations: 93.06 kB / 19.65 MB, free: 272 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.9479/0.9479, allocations: 177.1 MB / 200 MB, free: 3.969 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.001478/0.001478, allocations: 159.1 kB / 256.6 MB, free: 208 kB / 234.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.02437/0.02437, allocations: 6.662 MB / 319.8 MB, free: 1.18 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_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 391.7 MB, free: 58.25 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.819e-05, allocations: 2.312 kB / 391.7 MB, free: 58.24 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01216/0.01219, allocations: 16.05 MB / 407.7 MB, free: 42.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.02295, allocations: 5.483 MB / 413.2 MB, free: 36.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003933/0.02689, allocations: 119.4 kB / 413.3 MB, free: 36.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003692/0.03058, allocations: 1.223 MB / 414.5 MB, free: 35.28 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004732/0.03531, allocations: 1.63 MB / 416.2 MB, free: 33.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.03739, allocations: 1.025 MB / 417.2 MB, free: 32.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004894/0.04228, allocations: 4.983 MB / 422.2 MB, free: 27.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.04463, allocations: 1.913 MB / 424.1 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.04892, allocations: 3.22 MB / 427.3 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003042/0.05197, allocations: 2.26 MB / 429.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.0532, allocations: 0.5703 MB / 430.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.05525, allocations: 0.7808 MB / 430.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009027/0.05615, allocations: 1.344 MB / 432.3 MB, free: 17.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002207/0.05836, allocations: 1.68 MB / 434 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004945/0.06331, allocations: 3.945 MB / 437.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.06331, allocations: 0 / 437.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.06331, allocations: 0 / 437.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001151/0.06343, allocations: 4 kB / 437.9 MB, free: 11.8 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.006917/0.07034, allocations: 5.265 MB / 443.2 MB, free: 6.469 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.0704, allocations: 15.98 kB / 443.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.07356, allocations: 1.446 MB / 444.6 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/0.07681, allocations: 2.707 MB / 447.3 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.07692, allocations: 283.8 kB / 447.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003633/0.07729, allocations: 372.3 kB / 448 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/0.08154, allocations: 2.945 MB / 450.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-05/0.0816, allocations: 7.922 kB / 450.9 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.08183, allocations: 152 kB / 451.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.08195, allocations: 151.4 kB / 451.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.08492, allocations: 1.401 MB / 452.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1654/0.2503, allocations: 12.6 MB / 465.2 MB, free: 51.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/0.2537, allocations: 2.016 MB / 467.2 MB, free: 51.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.2558, allocations: 1.236 MB / 468.5 MB, free: 51.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00457/0.2604, allocations: 2.88 MB / 471.4 MB, free: 50.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.2604, allocations: 52.42 kB / 471.4 MB, free: 50.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 3.115e-06/0.2604, allocations: 0 / 471.4 MB, free: 50.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.007155/0.2676, allocations: 4.215 MB / 475.6 MB, free: 49.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.2676, allocations: 69.69 kB / 475.7 MB, free: 49.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.2696, allocations: 1.78 MB / 477.5 MB, free: 49.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/0.2697, allocations: 55.42 kB / 477.5 MB, free: 49.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008311/0.2705, allocations: 1.89 MB / 479.4 MB, free: 48.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.2709, allocations: 0.5865 MB / 480 MB, free: 48.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/0.2713, allocations: 435.4 kB / 480.4 MB, free: 48.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.2713, allocations: 482.3 kB / 480.9 MB, free: 48.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.2719, allocations: 323.4 kB / 481.2 MB, free: 48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/0.2728, allocations: 1.44 MB / 482.6 MB, free: 46.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.2745, allocations: 1.931 MB / 484.6 MB, free: 45.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.2745, allocations: 7 kB / 484.6 MB, free: 45.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00287/0.2774, allocations: 2.031 MB / 486.6 MB, free: 44.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.2774, allocations: 22.75 kB / 486.6 MB, free: 44.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/0.2775, allocations: 26.31 kB / 486.7 MB, free: 44.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.2781, allocations: 258.3 kB / 486.9 MB, free: 44.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/0.279, allocations: 0.4923 MB / 487.4 MB, free: 44.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.2819, allocations: 5.049 MB / 492.5 MB, free: 41.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.2829, allocations: 98.19 kB / 492.6 MB, free: 41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.2831, allocations: 98.28 kB / 492.7 MB, free: 41 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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): 258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,13,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008158/0.2839, allocations: 315.6 kB / 493 MB, free: 40.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.2842, allocations: 274.7 kB / 493.2 MB, free: 40.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.2861, allocations: 1.41 MB / 494.6 MB, free: 40.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.2861, allocations: 19.55 kB / 494.7 MB, free: 40.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.2861, allocations: 10.05 kB / 494.7 MB, free: 40.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.2861, allocations: 6.891 kB / 494.7 MB, free: 40.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/0.2911, allocations: 3.992 MB / 498.7 MB, free: 38.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2912, allocations: 2.703 kB / 498.7 MB, free: 38.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.2918, allocations: 269.5 kB / 498.9 MB, free: 38.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005539/0.2923, allocations: 268.3 kB / 499.2 MB, free: 38.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.689e-05/0.2924, allocations: 39.98 kB / 499.2 MB, free: 38.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/0.2954, allocations: 7.294 MB / 0.4947 GB, free: 31.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2954, allocations: 4 kB / 0.4947 GB, free: 31.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.2977, allocations: 1.907 MB / 0.4965 GB, free: 29.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006701/0.2984, allocations: 394.7 kB / 0.4969 GB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.2986, allocations: 35.75 kB / 0.4969 GB, free: 29.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.2991, allocations: 59.39 kB / 0.497 GB, free: 29.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.2993, allocations: 127.1 kB / 0.4971 GB, free: 28.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.2993, allocations: 43.66 kB / 0.4972 GB, free: 28.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001072/0.3004, allocations: 0.9839 MB / 0.4981 GB, free: 28.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3004, allocations: 0 / 0.4981 GB, free: 28.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001816/0.3022, allocations: 0.6601 MB / 0.4988 GB, free: 27.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im,constantTorque.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 {(2,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002737/0.3025, allocations: 172.3 kB / 0.4989 GB, free: 27.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.3046, allocations: 1.657 MB / 0.5005 GB, free: 25.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3046, allocations: 0 / 0.5005 GB, free: 25.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009191/0.3055, allocations: 1.187 MB / 0.5017 GB, free: 24.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.3068, allocations: 0.5021 MB / 0.5022 GB, free: 24.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00712/0.314, allocations: 5.703 MB / 0.5078 GB, free: 18.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.3146, allocations: 0.8737 MB / 0.5086 GB, free: 17.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001151/0.3157, allocations: 442.5 kB / 0.509 GB, free: 17.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.3161, allocations: 152.5 kB / 0.5092 GB, free: 16.87 MB / 330.7 MB Notification: Performance of SimCode: time 2.265e-06/0.3161, allocations: 0 / 0.5092 GB, free: 16.87 MB / 330.7 MB Notification: Performance of Templates: time 0.03967/0.3557, allocations: 31.21 MB / 0.5397 GB, free: 2.16 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7826277343556285]