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.0007653/0.0007653, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.864/0.864, allocations: 177.2 MB / 200.2 MB, free: 5.941 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.001121/0.001121, allocations: 164.6 kB / 256.7 MB, free: 13.34 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.02221/0.02221, allocations: 6.663 MB / 319.8 MB, free: 26.77 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.372e-06/1.372e-06, allocations: 0 / 446.7 MB, free: 37.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.829e-05, allocations: 2.281 kB / 446.7 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.008681/0.008699, allocations: 15.14 MB / 461.8 MB, free: 21.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.0153, allocations: 5.438 MB / 467.2 MB, free: 16.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.01668, allocations: 131.2 kB / 467.4 MB, free: 16.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.01849, allocations: 1.278 MB / 468.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.02065, allocations: 1.688 MB / 470.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.02183, allocations: 1.092 MB / 471.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.0243, allocations: 5.298 MB / 476.7 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.02597, allocations: 2.223 MB / 479 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.02815, allocations: 3.439 MB / 482.4 MB, free: 1.188 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.02997, allocations: 2.24 MB / 484.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005714/0.03054, allocations: 0.6172 MB / 485.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009688/0.03151, allocations: 0.8511 MB / 486.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007686/0.03227, allocations: 1.472 MB / 487.6 MB, free: 12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.03373, allocations: 1.809 MB / 489.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005276/0.03901, allocations: 8.242 MB / 497.6 MB, free: 1.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.03901, allocations: 0 / 497.6 MB, free: 1.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03902, allocations: 0 / 497.6 MB, free: 1.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.653e-05/0.03908, allocations: 0 / 497.6 MB, free: 1.918 MB / 346.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.007007/0.04609, allocations: 5.422 MB / 0.4913 GB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.04613, allocations: 12.03 kB / 0.4913 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/0.04894, allocations: 1.021 MB / 0.4923 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/0.05239, allocations: 2.999 MB / 0.4952 GB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.05253, allocations: 304.5 kB / 0.4955 GB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.05292, allocations: 404.3 kB / 0.4959 GB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005908/0.05883, allocations: 5.384 MB / 0.5011 GB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.367e-05/0.05889, allocations: 3.938 kB / 0.5011 GB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.05915, allocations: 168 kB / 0.5013 GB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.05926, allocations: 168 kB / 0.5014 GB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005136/0.0644, allocations: 4.462 MB / 0.5058 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.07923, allocations: 14.36 MB / 0.5198 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.08261, allocations: 3.256 MB / 0.523 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.08482, allocations: 1.988 MB / 0.5249 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005091/0.08991, allocations: 4.167 MB / 0.529 GB, free: 5.289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.08994, allocations: 51.81 kB / 0.5291 GB, free: 5.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=158): time 3.887e-06/0.08994, allocations: 4 kB / 0.5291 GB, free: 5.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=161): time 0.00778/0.09772, allocations: 5.918 MB / 0.5349 GB, free: 15.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.09776, allocations: 68.72 kB / 0.5349 GB, free: 15.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.09981, allocations: 2.11 MB / 0.537 GB, free: 13.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.09988, allocations: 53.7 kB / 0.537 GB, free: 12.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008399/0.1007, allocations: 1.908 MB / 0.5389 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.101, allocations: 0.5732 MB / 0.5395 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.1014, allocations: 399.9 kB / 0.5398 GB, free: 10.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.1015, allocations: 301.1 kB / 0.5401 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.1026, allocations: 0.8631 MB / 0.541 GB, free: 8.914 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.1038, allocations: 1.6 MB / 0.5425 GB, free: 6.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.1061, allocations: 2.601 MB / 0.5451 GB, free: 4.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.1061, allocations: 8 kB / 0.5451 GB, free: 4.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.003194/0.1093, allocations: 2.889 MB / 0.5479 GB, free: 1.152 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.1093, allocations: 20.06 kB / 0.5479 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.1093, allocations: 23.98 kB / 0.5479 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.1097, allocations: 181.5 kB / 0.5481 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.1107, allocations: 0.5343 MB / 0.5486 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.1123, allocations: 2.265 MB / 0.5508 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009131/0.1132, allocations: 115.9 kB / 0.551 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.1133, allocations: 99.98 kB / 0.551 GB, free: 13.81 MB / 426.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.001598/0.1149, allocations: 1.2 MB / 0.5522 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.1151, allocations: 238.5 kB / 0.5524 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.118, allocations: 2.352 MB / 0.5547 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.118, allocations: 27.92 kB / 0.5548 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.118, allocations: 4 kB / 0.5548 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.118, allocations: 15.97 kB / 0.5548 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005544/0.1236, allocations: 4.896 MB / 0.5596 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1236, allocations: 4 kB / 0.5596 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.1243, allocations: 283.6 kB / 0.5598 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000534/0.1248, allocations: 354.6 kB / 0.5602 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/0.1249, allocations: 43.92 kB / 0.5602 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.182/0.3068, allocations: 6.902 MB / 0.567 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3068, allocations: 5.031 kB / 0.567 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004502/0.3113, allocations: 3.504 MB / 0.5704 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006772/0.312, allocations: 422.1 kB / 0.5708 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.3122, allocations: 35.5 kB / 0.5708 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.3128, allocations: 74.83 kB / 0.5709 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.313, allocations: 135.3 kB / 0.571 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.313, allocations: 48.66 kB / 0.5711 GB, free: 112.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001329/0.3143, allocations: 1.396 MB / 0.5724 GB, free: 112.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3143, allocations: 2.75 kB / 0.5724 GB, free: 112.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001431/0.3158, allocations: 0.6739 MB / 0.5731 GB, free: 112.3 MB / 426.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.0002906/0.3161, allocations: 184.7 kB / 0.5733 GB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002161/0.3182, allocations: 2.179 MB / 0.5754 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3182, allocations: 5.438 kB / 0.5754 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.3194, allocations: 1.41 MB / 0.5768 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.3206, allocations: 0.496 MB / 0.5773 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006732/0.3274, allocations: 6.806 MB / 0.5839 GB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.3287, allocations: 2.072 MB / 0.5859 GB, free: 103 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.329, allocations: 183.2 kB / 0.5861 GB, free: 102.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/0.329, allocations: 0 / 0.5861 GB, free: 102.9 MB / 426.7 MB Notification: Performance of Templates: time 0.05681/0.3858, allocations: 96.74 MB / 0.6806 GB, free: 6.523 MB / 426.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.207787176594138] Failed to read output from testmodel.py, exit status != 0: 0.3910515746101737 0.39919421400000005 0.358434978 Calling exit ...