Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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.0008139/0.0008139, 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.9401/0.9401, allocations: 177.1 MB / 199.4 MB, free: 5.93 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.001244/0.001244, allocations: 160.5 kB / 256 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.02529/0.02529, allocations: 6.666 MB / 319 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 445.5 MB, free: 37.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.374e-05, allocations: 2.281 kB / 445.5 MB, free: 37.54 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01028/0.01031, allocations: 14.46 MB / 459.9 MB, free: 23.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008789/0.0191, allocations: 5.29 MB / 465.2 MB, free: 17.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.0225, allocations: 115.4 kB / 465.3 MB, free: 17.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.02574, allocations: 1.227 MB / 466.6 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.03064, allocations: 1.599 MB / 468.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.03292, allocations: 1.017 MB / 469.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004596/0.03752, allocations: 4.86 MB / 474.1 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.03976, allocations: 1.916 MB / 476 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004218/0.04398, allocations: 3.111 MB / 479.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002617/0.0466, allocations: 1.944 MB / 481 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006873/0.04729, allocations: 0.5586 MB / 481.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.04851, allocations: 0.7769 MB / 482.4 MB, free: 476 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006596/0.04917, allocations: 1.27 MB / 483.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.05092, allocations: 1.621 MB / 485.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007263/0.05818, allocations: 7.413 MB / 492.7 MB, free: 6.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.05819, allocations: 4 kB / 492.7 MB, free: 6.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.05819, allocations: 3.938 kB / 492.7 MB, free: 6.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002173/0.05841, allocations: 0 / 492.7 MB, free: 6.125 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.009091/0.0675, allocations: 4.835 MB / 497.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.06755, allocations: 8.031 kB / 497.5 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007217/0.06827, allocations: 0.5568 MB / 498.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/0.071, allocations: 0.939 MB / 499 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004325/0.07532, allocations: 2.686 MB / 0.4899 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.07549, allocations: 271.8 kB / 0.4902 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007094/0.0762, allocations: 368.3 kB / 0.4905 GB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008368/0.08457, allocations: 4.833 MB / 0.4953 GB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.518e-05/0.08465, allocations: 4 kB / 0.4953 GB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.08508, allocations: 148 kB / 0.4954 GB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.0852, allocations: 159.3 kB / 0.4956 GB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007889/0.09309, allocations: 3.894 MB / 0.4994 GB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02073/0.1138, allocations: 13.65 MB / 0.5127 GB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.1172, allocations: 2.42 MB / 0.5151 GB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.1187, allocations: 1.195 MB / 0.5162 GB, free: 1.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005808/0.1245, allocations: 3.188 MB / 0.5193 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.1246, allocations: 59.39 kB / 0.5194 GB, free: 14.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 3.997e-06/0.1246, allocations: 0 / 0.5194 GB, free: 14.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.01269/0.1373, allocations: 5.164 MB / 0.5244 GB, free: 9.164 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.1373, allocations: 68.72 kB / 0.5245 GB, free: 9.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/0.1418, allocations: 2.212 MB / 0.5267 GB, free: 6.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.1421, allocations: 49.7 kB / 0.5267 GB, free: 6.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.1435, allocations: 1.794 MB / 0.5285 GB, free: 4.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001105/0.1446, allocations: 0.5113 MB / 0.529 GB, free: 4.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008378/0.1455, allocations: 408 kB / 0.5293 GB, free: 4.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1456, allocations: 309.1 kB / 0.5296 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.1471, allocations: 0.7657 MB / 0.5304 GB, free: 2.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.1491, allocations: 1.57 MB / 0.5319 GB, free: 1.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/0.1594, allocations: 4.779 MB / 0.5366 GB, free: 11.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/0.1594, allocations: 8 kB / 0.5366 GB, free: 11.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004267/0.1637, allocations: 2.798 MB / 0.5393 GB, free: 9.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.1637, allocations: 16 kB / 0.5393 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.404e-05/0.1637, allocations: 24 kB / 0.5394 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/0.1644, allocations: 281.3 kB / 0.5396 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.1656, allocations: 0.4952 MB / 0.5401 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/0.169, allocations: 3.226 MB / 0.5433 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.1707, allocations: 99.81 kB / 0.5434 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.1709, allocations: 112 kB / 0.5435 GB, free: 4.734 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (261): * Single equations (assignments): 259 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00176/0.1726, allocations: 1.091 MB / 0.5445 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/0.173, allocations: 238.4 kB / 0.5448 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.1753, allocations: 1.755 MB / 0.5465 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.1753, allocations: 16 kB / 0.5465 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.1753, allocations: 7.984 kB / 0.5465 GB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1753, allocations: 3.984 kB / 0.5465 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006832/0.1822, allocations: 4.643 MB / 0.551 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.1822, allocations: 4 kB / 0.551 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.1828, allocations: 259.9 kB / 0.5513 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/0.1833, allocations: 210.6 kB / 0.5515 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.1834, allocations: 35.98 kB / 0.5515 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/0.1861, allocations: 3.112 MB / 0.5546 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.1861, allocations: 4 kB / 0.5546 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.1894, allocations: 2.657 MB / 0.5572 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009373/0.1903, allocations: 394.4 kB / 0.5575 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.1906, allocations: 28 kB / 0.5576 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.1912, allocations: 55.97 kB / 0.5576 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.1914, allocations: 109 kB / 0.5577 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.1914, allocations: 48.11 kB / 0.5578 GB, free: 5.801 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001745/0.1932, allocations: 1.455 MB / 0.5592 GB, free: 4.328 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1932, allocations: 0 / 0.5592 GB, free: 4.328 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001757/0.1949, allocations: 0.6289 MB / 0.5598 GB, free: 3.695 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * 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 (125): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003283/0.1982, allocations: 3.274 MB / 0.563 GB, free: 368 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.143/0.3412, allocations: 1.98 MB / 0.5649 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.3412, allocations: 1.094 kB / 0.5649 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.3424, allocations: 0.8933 MB / 0.5658 GB, free: 120.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.3444, allocations: 0.5895 MB / 0.5664 GB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/0.3703, allocations: 21.78 MB / 0.5877 GB, free: 103 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.3716, allocations: 1.885 MB / 0.5895 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001307/0.3729, allocations: 0.5001 MB / 0.59 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.3739, allocations: 1.336 MB / 0.5913 GB, free: 99.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/0.3739, allocations: 4 kB / 0.5913 GB, free: 99.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06991/0.4438, allocations: 58.58 MB / 0.6485 GB, free: 41.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.896/9.34, allocations: 7.094 kB / 0.6485 GB, free: 41.25 MB / 426.7 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1_res.csv --start-time 0 --stop-time 0.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.494085220620036] Failed to read output from testmodel.py, exit status != 0: 9.452008467167616 9.4581843 9.398435203 Calling exit ...