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.000793/0.000793, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.9581/0.9581, allocations: 177.1 MB / 199.4 MB, free: 5.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.002182/0.002182, allocations: 164.6 kB / 256 MB, free: 13.36 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.02191/0.02191, allocations: 6.668 MB / 319 MB, free: 26.78 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_DOL,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_DOL,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.998e-05, allocations: 6.219 kB / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01114/0.01117, allocations: 15.13 MB / 460.6 MB, free: 22.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009086/0.02026, allocations: 5.438 MB / 466 MB, free: 16.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.02347, allocations: 127.2 kB / 466.1 MB, free: 16.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.02707, allocations: 1.278 MB / 467.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005554/0.03262, allocations: 1.684 MB / 469.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.03547, allocations: 1.085 MB / 470.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006101/0.04157, allocations: 5.302 MB / 475.5 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/0.04449, allocations: 2.223 MB / 477.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00576/0.05025, allocations: 3.431 MB / 481.1 MB, free: 1.695 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/0.05372, allocations: 2.248 MB / 483.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.05514, allocations: 0.6172 MB / 484 MB, free: 14.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.05733, allocations: 0.855 MB / 484.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000998/0.05833, allocations: 1.464 MB / 486.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002945/0.06127, allocations: 1.812 MB / 488.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009236/0.07051, allocations: 8.246 MB / 496.4 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.07052, allocations: 0 / 496.4 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.07052, allocations: 3.938 kB / 496.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000294/0.07082, allocations: 0 / 496.4 MB, free: 2.41 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.01342/0.08423, allocations: 5.418 MB / 0.49 GB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.08429, allocations: 12.03 kB / 0.49 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008491/0.08513, allocations: 0.548 MB / 0.4906 GB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.08863, allocations: 1.028 MB / 0.4916 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006232/0.09486, allocations: 2.995 MB / 0.4945 GB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.09509, allocations: 300.5 kB / 0.4948 GB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008257/0.09592, allocations: 396.3 kB / 0.4952 GB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008986/0.1049, allocations: 5.391 MB / 0.5004 GB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-05/0.105, allocations: 4 kB / 0.5004 GB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002824/0.1053, allocations: 163.9 kB / 0.5006 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.1054, allocations: 176 kB / 0.5008 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007524/0.1129, allocations: 4.462 MB / 0.5051 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02469/0.1376, allocations: 14.94 MB / 0.5197 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/0.1414, allocations: 3.244 MB / 0.5229 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/0.1439, allocations: 1.999 MB / 0.5248 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006447/0.1504, allocations: 4.202 MB / 0.5289 GB, free: 4.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.1504, allocations: 55.88 kB / 0.529 GB, free: 4.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=158): time 3.226e-06/0.1504, allocations: 0 / 0.529 GB, free: 4.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=161): time 0.009105/0.1595, allocations: 5.934 MB / 0.5348 GB, free: 14.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1596, allocations: 64.72 kB / 0.5348 GB, free: 14.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.1622, allocations: 2.354 MB / 0.5371 GB, free: 12.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.342e-05/0.1622, allocations: 49.7 kB / 0.5372 GB, free: 12.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009824/0.1632, allocations: 1.913 MB / 0.5391 GB, free: 10.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000349/0.1636, allocations: 0.5693 MB / 0.5396 GB, free: 9.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/0.164, allocations: 399.9 kB / 0.54 GB, free: 9.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003589/0.1643, allocations: 305.1 kB / 0.5403 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009532/0.1653, allocations: 0.8631 MB / 0.5411 GB, free: 7.973 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.1665, allocations: 1.607 MB / 0.5427 GB, free: 6.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.1689, allocations: 2.59 MB / 0.5452 GB, free: 3.125 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.1689, allocations: 8 kB / 0.5452 GB, free: 3.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.003723/0.1726, allocations: 2.912 MB / 0.5481 GB, free: 196 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.1726, allocations: 12 kB / 0.5481 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.1727, allocations: 24 kB / 0.5481 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.173, allocations: 185.5 kB / 0.5483 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.174, allocations: 0.5343 MB / 0.5488 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.1757, allocations: 2.296 MB / 0.551 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.1771, allocations: 111.9 kB / 0.5512 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.1772, allocations: 104 kB / 0.5513 GB, free: 12.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.002106/0.1793, allocations: 1.196 MB / 0.5524 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/0.1799, allocations: 258.4 kB / 0.5527 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/0.1832, allocations: 2.381 MB / 0.555 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.1832, allocations: 16 kB / 0.555 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.1832, allocations: 8 kB / 0.555 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1832, allocations: 11.91 kB / 0.555 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006919/0.1901, allocations: 5.391 MB / 0.5603 GB, free: 3.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1901, allocations: 0 / 0.5603 GB, free: 3.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006703/0.1908, allocations: 283.8 kB / 0.5606 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009414/0.1917, allocations: 354.4 kB / 0.5609 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.369e-05/0.1918, allocations: 47.91 kB / 0.5609 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1886/0.3804, allocations: 6.991 MB / 0.5678 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3804, allocations: 2.562 kB / 0.5678 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.385, allocations: 3.523 MB / 0.5712 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008326/0.3858, allocations: 449 kB / 0.5716 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.3861, allocations: 35.44 kB / 0.5717 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.3867, allocations: 82.77 kB / 0.5718 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.3869, allocations: 124.6 kB / 0.5719 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.387, allocations: 49.7 kB / 0.5719 GB, free: 112.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001663/0.3886, allocations: 1.568 MB / 0.5735 GB, free: 111.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3886, allocations: 6.594 kB / 0.5735 GB, free: 111.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001677/0.3903, allocations: 0.6774 MB / 0.5741 GB, free: 111.8 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.003523/0.3938, allocations: 4.145 MB / 0.5782 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.3962, allocations: 2.172 MB / 0.5803 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3962, allocations: 0 / 0.5803 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.3974, allocations: 1.417 MB / 0.5817 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.3992, allocations: 0.6207 MB / 0.5823 GB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/0.4322, allocations: 24.29 MB / 0.606 GB, free: 82.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.4336, allocations: 2.143 MB / 0.6081 GB, free: 80.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001603/0.4352, allocations: 0.5515 MB / 0.6086 GB, free: 79.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.4364, allocations: 1.492 MB / 0.6101 GB, free: 78.12 MB / 426.7 MB Notification: Performance of SimCode: time 2.805e-06/0.4364, allocations: 0 / 0.6101 GB, free: 78.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07692/0.5133, allocations: 63.56 MB / 0.6722 GB, free: 15.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/9.28, allocations: 8 kB / 0.6722 GB, free: 15.12 MB / 426.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.957797357812524] Failed to read output from testmodel.py, exit status != 0: 9.398055759258568 9.403804778 9.331507671 Calling exit ...