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.0009887/0.0009887, 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.9194/0.9194, allocations: 177.2 MB / 200 MB, free: 3.957 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.001226/0.001226, allocations: 152 kB / 256.6 MB, free: 180 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.03702/0.03702, allocations: 6.649 MB / 319.8 MB, free: 1.148 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_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.614e-06/1.614e-06, allocations: 0 / 391.7 MB, free: 58.21 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.488e-05, allocations: 5.969 kB / 391.7 MB, free: 58.21 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01108/0.0111, allocations: 16.93 MB / 408.6 MB, free: 41.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007967/0.01907, allocations: 5.637 MB / 414.2 MB, free: 35.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.02158, allocations: 127.2 kB / 414.4 MB, free: 35.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.02432, allocations: 1.285 MB / 415.6 MB, free: 34.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.02806, allocations: 1.692 MB / 417.3 MB, free: 32.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.02988, allocations: 1.091 MB / 418.4 MB, free: 31.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004257/0.03414, allocations: 5.306 MB / 423.7 MB, free: 26.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.03646, allocations: 2.223 MB / 426 MB, free: 23.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003546/0.04001, allocations: 3.462 MB / 429.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.04248, allocations: 2.467 MB / 431.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000897/0.04337, allocations: 0.6172 MB / 432.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.04453, allocations: 0.8433 MB / 433.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006524/0.04519, allocations: 1.503 MB / 434.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.04676, allocations: 1.82 MB / 436.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003951/0.05071, allocations: 4.311 MB / 441 MB, free: 8.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.05071, allocations: 0 / 441 MB, free: 8.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.05071, allocations: 0 / 441 MB, free: 8.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001968/0.05091, allocations: 0 / 441 MB, free: 8.66 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.007275/0.05819, allocations: 5.704 MB / 446.7 MB, free: 2.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.05823, allocations: 11.98 kB / 446.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/0.06146, allocations: 1.52 MB / 448.2 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00447/0.06593, allocations: 2.893 MB / 451.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.06612, allocations: 304.5 kB / 451.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004474/0.06656, allocations: 396.4 kB / 451.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004934/0.0715, allocations: 3.211 MB / 455 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.213e-05/0.07156, allocations: 11.89 kB / 455 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.0718, allocations: 160 kB / 455.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.07193, allocations: 180 kB / 455.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/0.07496, allocations: 1.526 MB / 456.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1551/0.23, allocations: 13.5 MB / 470.4 MB, free: 46.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/0.234, allocations: 2.429 MB / 472.8 MB, free: 46.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.2358, allocations: 1.326 MB / 474.1 MB, free: 46.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004875/0.2407, allocations: 3.255 MB / 477.4 MB, free: 46.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.2408, allocations: 53.61 kB / 477.4 MB, free: 46.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 3.406e-06/0.2408, allocations: 0 / 477.4 MB, free: 46.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.006094/0.2469, allocations: 3.767 MB / 481.2 MB, free: 45.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2469, allocations: 71.86 kB / 481.3 MB, free: 45.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.2489, allocations: 1.862 MB / 483.1 MB, free: 45.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.249, allocations: 49.67 kB / 483.2 MB, free: 45.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009842/0.25, allocations: 2.013 MB / 485.2 MB, free: 44.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/0.2503, allocations: 0.5858 MB / 485.8 MB, free: 44.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.2508, allocations: 425.1 kB / 486.2 MB, free: 44.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.2508, allocations: 480.8 kB / 486.7 MB, free: 43.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.2513, allocations: 304.7 kB / 487 MB, free: 43.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/0.2521, allocations: 1.358 MB / 488.3 MB, free: 42.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.2536, allocations: 1.827 MB / 490.1 MB, free: 41.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.2536, allocations: 6 kB / 490.1 MB, free: 41.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.002521/0.2562, allocations: 1.877 MB / 492 MB, free: 40.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.2562, allocations: 13.84 kB / 492 MB, free: 40.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.2562, allocations: 21.59 kB / 492.1 MB, free: 40.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.2565, allocations: 134.3 kB / 492.2 MB, free: 40.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2576, allocations: 0.5238 MB / 492.7 MB, free: 40.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.2588, allocations: 2.382 MB / 495.1 MB, free: 38.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009554/0.2597, allocations: 117.8 kB / 495.2 MB, free: 38.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-05/0.2598, allocations: 96.47 kB / 495.3 MB, free: 38.65 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.0009051/0.2607, allocations: 302.4 kB / 495.6 MB, free: 38.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.261, allocations: 286.7 kB / 495.9 MB, free: 38.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.263, allocations: 1.413 MB / 497.3 MB, free: 37.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.263, allocations: 16.62 kB / 497.3 MB, free: 37.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.263, allocations: 11.12 kB / 497.3 MB, free: 37.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.263, allocations: 7.734 kB / 497.3 MB, free: 37.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.2684, allocations: 4.072 MB / 0.4896 GB, free: 35.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2684, allocations: 0 / 0.4896 GB, free: 35.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.269, allocations: 274.4 kB / 0.4899 GB, free: 35.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005997/0.2696, allocations: 285 kB / 0.4902 GB, free: 35.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.092e-05/0.2697, allocations: 42.33 kB / 0.4902 GB, free: 35.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.2729, allocations: 7.37 MB / 0.4974 GB, free: 27.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2729, allocations: 0 / 0.4974 GB, free: 27.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.2754, allocations: 1.931 MB / 0.4993 GB, free: 25.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/0.2761, allocations: 410.2 kB / 0.4997 GB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.2763, allocations: 40 kB / 0.4997 GB, free: 25.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.2768, allocations: 71.94 kB / 0.4998 GB, free: 25.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.277, allocations: 120.5 kB / 0.4999 GB, free: 25.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.2771, allocations: 47.98 kB / 0.5 GB, free: 25.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00106/0.2781, allocations: 1.037 MB / 0.501 GB, free: 24.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2781, allocations: 0 / 0.501 GB, free: 24.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001708/0.2798, allocations: 0.6732 MB / 0.5016 GB, free: 23.59 MB / 330.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.0002753/0.2801, allocations: 188.1 kB / 0.5018 GB, free: 23.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.2818, allocations: 1.358 MB / 0.5031 GB, free: 22.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.2819, allocations: 192 / 0.5031 GB, free: 22.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009717/0.2828, allocations: 1.2 MB / 0.5043 GB, free: 20.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.2842, allocations: 0.5249 MB / 0.5048 GB, free: 20.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008599/0.2928, allocations: 6.103 MB / 0.5108 GB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.2934, allocations: 0.9342 MB / 0.5117 GB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001168/0.2945, allocations: 467 kB / 0.5121 GB, free: 12.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.2949, allocations: 164.5 kB / 0.5123 GB, free: 12.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.813e-06/0.2949, allocations: 0 / 0.5123 GB, free: 12.67 MB / 330.7 MB Notification: Performance of Templates: time 0.04095/0.3358, allocations: 30.15 MB / 0.5417 GB, free: 15 MB / 362.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.7861124612390995]