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.0009172/0.0009172, allocations: 92.2 kB / 20.19 MB, free: 4.363 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 0.9788/0.9788, allocations: 177.1 MB / 200.5 MB, free: 5.836 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.001853/0.001853, allocations: 168.5 kB / 257 MB, free: 13.2 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.0234/0.0234, allocations: 6.667 MB / 320.1 MB, free: 26.59 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.894e-06/1.894e-06, allocations: 0 / 391.7 MB, free: 2.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.763e-05, allocations: 2.312 kB / 391.7 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01348/0.0135, allocations: 16.84 MB / 408.5 MB, free: 2.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1526/0.1661, allocations: 5.621 MB / 414.1 MB, free: 69.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.1688, allocations: 130.1 kB / 414.3 MB, free: 69.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.1716, allocations: 1.274 MB / 415.5 MB, free: 69.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003898/0.1755, allocations: 1.696 MB / 417.2 MB, free: 68.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.1775, allocations: 1.09 MB / 418.3 MB, free: 68.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00508/0.1826, allocations: 5.293 MB / 423.6 MB, free: 65.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.1854, allocations: 2.235 MB / 425.9 MB, free: 64.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003871/0.1893, allocations: 3.468 MB / 429.3 MB, free: 63.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.1921, allocations: 2.461 MB / 431.8 MB, free: 61.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009827/0.193, allocations: 0.6169 MB / 432.4 MB, free: 61.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.1942, allocations: 0.8493 MB / 433.3 MB, free: 61.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006925/0.1949, allocations: 1.495 MB / 434.7 MB, free: 60.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.1967, allocations: 1.826 MB / 436.6 MB, free: 59.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.2, allocations: 4.302 MB / 440.9 MB, free: 55.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2, allocations: 0 / 440.9 MB, free: 55.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2, allocations: 0 / 440.9 MB, free: 55.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001053/0.2002, allocations: 0 / 440.9 MB, free: 55.51 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.006976/0.2071, allocations: 5.713 MB / 446.6 MB, free: 49.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2072, allocations: 8.031 kB / 446.6 MB, free: 49.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/0.2106, allocations: 1.513 MB / 448.1 MB, free: 48.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.2135, allocations: 2.897 MB / 451 MB, free: 45.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.2136, allocations: 303.6 kB / 451.3 MB, free: 45.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.2139, allocations: 404.3 kB / 451.7 MB, free: 44.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/0.2179, allocations: 3.197 MB / 454.9 MB, free: 41.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/0.218, allocations: 11.95 kB / 454.9 MB, free: 41.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.2182, allocations: 167.9 kB / 455.1 MB, free: 41.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.2183, allocations: 172 kB / 455.2 MB, free: 40.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.2213, allocations: 1.526 MB / 456.8 MB, free: 39.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.2337, allocations: 13.51 MB / 470.3 MB, free: 25.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.2363, allocations: 2.438 MB / 472.7 MB, free: 23.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.238, allocations: 1.317 MB / 474 MB, free: 22.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003826/0.2418, allocations: 3.256 MB / 477.3 MB, free: 18.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.2418, allocations: 58.69 kB / 477.3 MB, free: 18.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 2.444e-06/0.2418, allocations: 0 / 477.3 MB, free: 18.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.005343/0.2472, allocations: 3.766 MB / 481.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.2472, allocations: 68.72 kB / 481.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.2487, allocations: 1.865 MB / 483 MB, free: 13.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.2488, allocations: 49.7 kB / 483.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006899/0.2495, allocations: 2.009 MB / 485.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.2498, allocations: 0.5943 MB / 485.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/0.2501, allocations: 421.7 kB / 486.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.2502, allocations: 480.8 kB / 486.6 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.2507, allocations: 304.1 kB / 486.9 MB, free: 9.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008678/0.2516, allocations: 1.36 MB / 488.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.2531, allocations: 1.823 MB / 490.1 MB, free: 5.078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.2531, allocations: 8 kB / 490.1 MB, free: 5.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.0021/0.2552, allocations: 1.875 MB / 491.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2553, allocations: 12 kB / 491.9 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.2553, allocations: 28.03 kB / 492 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002658/0.2556, allocations: 133.4 kB / 492.1 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.2565, allocations: 0.5226 MB / 492.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.2576, allocations: 2.38 MB / 495 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/0.2584, allocations: 115.7 kB / 495.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.2586, allocations: 99.98 kB / 495.2 MB, free: 15.78 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.0007834/0.2593, allocations: 299.8 kB / 495.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.2596, allocations: 286.5 kB / 495.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.2617, allocations: 1.415 MB / 497.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.2617, allocations: 16 kB / 497.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.2617, allocations: 7.938 kB / 497.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.2617, allocations: 7.969 kB / 497.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/0.2668, allocations: 4.079 MB / 0.4896 GB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.2669, allocations: 8 kB / 0.4896 GB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/0.2675, allocations: 271.6 kB / 0.4898 GB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005961/0.2681, allocations: 281.8 kB / 0.4901 GB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.2682, allocations: 39.98 kB / 0.4901 GB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004159/0.2723, allocations: 7.377 MB / 0.4973 GB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2723, allocations: 0 / 0.4973 GB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.2749, allocations: 1.944 MB / 0.4992 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000583/0.2755, allocations: 402.2 kB / 0.4996 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.2757, allocations: 43.98 kB / 0.4997 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.2762, allocations: 71.94 kB / 0.4997 GB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.2764, allocations: 121.1 kB / 0.4999 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.2764, allocations: 47.98 kB / 0.4999 GB, free: 14.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001131/0.2776, allocations: 1.04 MB / 0.5009 GB, free: 13.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2776, allocations: 0 / 0.5009 GB, free: 13.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001691/0.2793, allocations: 0.6757 MB / 0.5016 GB, free: 12.84 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.0002802/0.2795, allocations: 174.2 kB / 0.5017 GB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.2815, allocations: 1.357 MB / 0.5031 GB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2815, allocations: 0 / 0.5031 GB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.2826, allocations: 1.191 MB / 0.5042 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.2839, allocations: 0.5213 MB / 0.5047 GB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00821/0.2921, allocations: 6.107 MB / 0.5107 GB, free: 3.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000715/0.2928, allocations: 0.9342 MB / 0.5116 GB, free: 2.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009544/0.2937, allocations: 463 kB / 0.5121 GB, free: 1.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.294, allocations: 160.5 kB / 0.5122 GB, free: 1.789 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.294, allocations: 0 / 0.5122 GB, free: 1.789 MB / 362.7 MB Notification: Performance of Templates: time 0.03938/0.3334, allocations: 30.15 MB / 0.5417 GB, free: 4.082 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: 3.845761719858274]