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.0008643/0.0008643, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002142, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.018/1.018, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.233/1.251, allocations: 53.65 MB / 242 MB, free: 2.621 MB / 234.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.001317/0.001317, allocations: 143.6 kB / 242.9 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001991/0.003308, allocations: 488.2 kB / 243.4 MB, free: 1.281 MB / 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.02769/0.02769, allocations: 6.654 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007869/0.03556, allocations: 2.672 MB / 253.5 MB, free: 7.414 MB / 250.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.683e-06/1.683e-06, allocations: 0 / 254.8 MB, free: 6.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.274e-05, allocations: 2.312 kB / 254.8 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01773/0.01776, allocations: 16.71 MB / 271.5 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.03157, allocations: 5.888 MB / 277.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004241/0.03581, allocations: 127.3 kB / 277.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004205/0.04002, allocations: 1.326 MB / 278.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006673/0.04669, allocations: 1.684 MB / 280.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004229/0.05092, allocations: 1.086 MB / 281.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008455/0.05938, allocations: 5.32 MB / 286.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004781/0.06416, allocations: 2.29 MB / 289.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009646/0.0738, allocations: 3.916 MB / 293.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00495/0.07875, allocations: 2.447 MB / 295.6 MB, free: 13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002163/0.08092, allocations: 0.6133 MB / 296.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.08463, allocations: 0.8511 MB / 297 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002046/0.08667, allocations: 1.185 MB / 298.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004558/0.09123, allocations: 1.509 MB / 299.7 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00877/0.1, allocations: 4.046 MB / 303.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.089e-05/0.1, allocations: 4 kB / 303.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1, allocations: 0 / 303.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003688/0.1004, allocations: 0 / 303.8 MB, free: 4.77 MB / 298.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.01348/0.1139, allocations: 6.264 MB / 310 MB, free: 14.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.1139, allocations: 8.031 kB / 310 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/0.1178, allocations: 1.39 MB / 311.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/0.1231, allocations: 1.914 MB / 313.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.1234, allocations: 304.5 kB / 313.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/0.1246, allocations: 408.3 kB / 314 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.1299, allocations: 3.004 MB / 317 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.134e-05/0.13, allocations: 11.89 kB / 317.1 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.1302, allocations: 164 kB / 317.2 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.1304, allocations: 168 kB / 317.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.1327, allocations: 1.198 MB / 318.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01978/0.1525, allocations: 10.67 MB / 329.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.1552, allocations: 2.002 MB / 331.3 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.1568, allocations: 1.151 MB / 332.4 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.1571, allocations: 93.92 kB / 332.5 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.02e-05/0.1572, allocations: 68.5 kB / 332.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=220): time 6.833e-06/0.1572, allocations: 0 / 332.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=224): time 0.008052/0.1652, allocations: 3.71 MB / 336.3 MB, free: 3.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.1653, allocations: 77.41 kB / 336.3 MB, free: 3.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.1671, allocations: 1.494 MB / 337.8 MB, free: 1.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.1672, allocations: 69.7 kB / 337.9 MB, free: 1.781 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007364/0.1679, allocations: 1.514 MB / 339.4 MB, free: 256 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2155/0.3835, allocations: 0.7827 MB / 340.2 MB, free: 51.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009289/0.3844, allocations: 437.6 kB / 340.6 MB, free: 51.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.3845, allocations: 306 kB / 340.9 MB, free: 51.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008175/0.3853, allocations: 282.9 kB / 341.2 MB, free: 51.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009186/0.3862, allocations: 0.959 MB / 342.2 MB, free: 50.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.3883, allocations: 1.568 MB / 343.7 MB, free: 50 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.729e-05/0.3884, allocations: 5.812 kB / 343.7 MB, free: 50 MB / 330.7 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.003064/0.3914, allocations: 1.497 MB / 345.2 MB, free: 49.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.3915, allocations: 16.78 kB / 345.3 MB, free: 49.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.553e-05/0.3915, allocations: 20.84 kB / 345.3 MB, free: 49.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/0.3919, allocations: 131.9 kB / 345.4 MB, free: 49.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.394, allocations: 0.7696 MB / 346.2 MB, free: 49.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.3954, allocations: 1.762 MB / 347.9 MB, free: 48.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.3969, allocations: 101.1 kB / 348 MB, free: 48.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.3971, allocations: 81.55 kB / 348.1 MB, free: 48.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (316): * Single equations (assignments): 314 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.3982, allocations: 271.5 kB / 348.4 MB, free: 48.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.3986, allocations: 222.5 kB / 348.6 MB, free: 48.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.4006, allocations: 1.331 MB / 349.9 MB, free: 48.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.4006, allocations: 25.06 kB / 350 MB, free: 48.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/0.4006, allocations: 7.656 kB / 350 MB, free: 48.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.4006, allocations: 15.73 kB / 350 MB, free: 48.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00613/0.4068, allocations: 3.659 MB / 353.6 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.4068, allocations: 3.406 kB / 353.6 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.4079, allocations: 496.7 kB / 354.1 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008666/0.4088, allocations: 284.3 kB / 354.4 MB, free: 47.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005692/0.4093, allocations: 256.1 kB / 354.6 MB, free: 47.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.076e-05/0.4094, allocations: 54.3 kB / 354.7 MB, free: 47.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003262/0.4127, allocations: 5.248 MB / 359.9 MB, free: 43.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.4127, allocations: 3.531 kB / 360 MB, free: 43.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.4153, allocations: 1.832 MB / 361.8 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005929/0.4159, allocations: 45.91 kB / 361.8 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007369/0.4166, allocations: 71.78 kB / 361.9 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.4169, allocations: 159.2 kB / 362.1 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/0.417, allocations: 48.84 kB / 362.1 MB, free: 43.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009633/0.4179, allocations: 0.7416 MB / 362.8 MB, free: 42.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4179, allocations: 0 / 362.8 MB, free: 42.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002332/0.4203, allocations: 0.7193 MB / 363.6 MB, free: 42.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (193): * Single equations (assignments): 190 * 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.0004077/0.4207, allocations: 180.3 kB / 363.7 MB, free: 42.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.4229, allocations: 1.296 MB / 365 MB, free: 42.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001035/0.423, allocations: 43.64 kB / 365.1 MB, free: 42.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.4244, allocations: 1.18 MB / 366.3 MB, free: 42.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003567/0.4279, allocations: 5.293 MB / 371.6 MB, free: 37.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/0.4574, allocations: 6.421 MB / 378 MB, free: 32.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009566/0.4584, allocations: 0.8119 MB / 378.8 MB, free: 31.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001486/0.4599, allocations: 363.4 kB / 379.1 MB, free: 31.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009752/0.4608, allocations: 0.5769 MB / 379.7 MB, free: 30.88 MB / 330.7 MB Notification: Performance of SimCode: time 2.335e-06/0.4608, allocations: 0 / 379.7 MB, free: 30.88 MB / 330.7 MB Notification: Performance of Templates: time 0.05554/0.5164, allocations: 36.68 MB / 416.4 MB, free: 11.98 MB / 346.7 MB " [Timeout remaining time 659] 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: 3.861340230330825]