Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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.001037/0.001037, 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.8675/0.8675, allocations: 177.1 MB / 199.4 MB, free: 5.934 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.001029/0.001029, allocations: 156.6 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.0244/0.0244, allocations: 6.665 MB / 319 MB, free: 26.76 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_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 3.938 kB / 445.5 MB, free: 37.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.759e-05, allocations: 2.281 kB / 445.5 MB, free: 37.54 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.008654/0.008671, allocations: 14.45 MB / 459.9 MB, free: 23.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006679/0.01535, allocations: 5.294 MB / 465.2 MB, free: 17.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.01726, allocations: 115.4 kB / 465.3 MB, free: 17.6 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.01937, allocations: 1.227 MB / 466.6 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.0222, allocations: 1.599 MB / 468.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.02354, allocations: 1.027 MB / 469.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002708/0.02625, allocations: 4.868 MB / 474.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.02772, allocations: 1.917 MB / 476 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00206/0.02978, allocations: 3.115 MB / 479.1 MB, free: 3.738 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.03099, allocations: 1.936 MB / 481 MB, free: 1.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003412/0.03133, allocations: 0.5586 MB / 481.6 MB, free: 1.238 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006833/0.03202, allocations: 0.773 MB / 482.4 MB, free: 476 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005896/0.03261, allocations: 1.274 MB / 483.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.03362, allocations: 1.629 MB / 485.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00418/0.0378, allocations: 7.409 MB / 492.7 MB, free: 6.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0378, allocations: 0 / 492.7 MB, free: 6.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.0378, allocations: 0 / 492.7 MB, free: 6.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.007e-05/0.03784, 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.005826/0.04367, allocations: 4.835 MB / 497.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.04371, allocations: 11.97 kB / 497.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005797/0.04429, allocations: 0.5568 MB / 498.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/0.04688, allocations: 0.9351 MB / 499 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003503/0.05038, allocations: 2.686 MB / 0.4899 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.05053, allocations: 275.8 kB / 0.4902 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/0.05089, allocations: 368.3 kB / 0.4905 GB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/0.05634, allocations: 4.843 MB / 0.4953 GB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.977e-05/0.0564, allocations: 0 / 0.4953 GB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.05663, allocations: 152 kB / 0.4954 GB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.7e-05/0.05673, allocations: 155.3 kB / 0.4956 GB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/0.06123, allocations: 3.901 MB / 0.4994 GB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.07527, allocations: 13.79 MB / 0.5129 GB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.07808, allocations: 2.53 MB / 0.5153 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.07958, allocations: 1.363 MB / 0.5167 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004052/0.08363, allocations: 3.34 MB / 0.5199 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.08366, allocations: 43.56 kB / 0.52 GB, free: 13.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=125): time 2.625e-06/0.08366, allocations: 4 kB / 0.52 GB, free: 13.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=156): time 0.007828/0.09149, allocations: 5.947 MB / 0.5258 GB, free: 7.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.09153, allocations: 68.72 kB / 0.5258 GB, free: 7.695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.09354, allocations: 2.125 MB / 0.5279 GB, free: 5.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.281e-05/0.09361, allocations: 49.7 kB / 0.528 GB, free: 5.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007983/0.09441, allocations: 1.755 MB / 0.5297 GB, free: 3.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.0947, allocations: 0.5539 MB / 0.5302 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.09507, allocations: 408 kB / 0.5306 GB, free: 2.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.09515, allocations: 305.1 kB / 0.5309 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008244/0.09597, allocations: 0.7735 MB / 0.5316 GB, free: 1.664 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.09712, allocations: 1.577 MB / 0.5332 GB, free: 15.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007513/0.1046, allocations: 4.844 MB / 0.5379 GB, free: 10.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.1046, allocations: 8 kB / 0.5379 GB, free: 10.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003008/0.1077, allocations: 2.873 MB / 0.5407 GB, free: 7.648 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1077, allocations: 23.97 kB / 0.5408 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.1077, allocations: 31.94 kB / 0.5408 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/0.1082, allocations: 357.7 kB / 0.5411 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008673/0.1091, allocations: 487.2 kB / 0.5416 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.1124, allocations: 3.922 MB / 0.5454 GB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/0.1133, allocations: 87.89 kB / 0.5455 GB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.1134, allocations: 108 kB / 0.5456 GB, free: 2.543 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[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (256): * Single equations (assignments): 254 * 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 {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001409/0.1148, allocations: 1.09 MB / 0.5467 GB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.115, allocations: 238.5 kB / 0.5469 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.1172, allocations: 1.974 MB / 0.5488 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.1172, allocations: 16 kB / 0.5488 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1172, allocations: 4 kB / 0.5488 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.1172, allocations: 7.969 kB / 0.5489 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/0.1226, allocations: 5.05 MB / 0.5538 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1226, allocations: 0 / 0.5538 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/0.1232, allocations: 272 kB / 0.554 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004281/0.1236, allocations: 280.6 kB / 0.5543 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/0.1237, allocations: 39.98 kB / 0.5543 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.1266, allocations: 3.676 MB / 0.5579 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1266, allocations: 4 kB / 0.5579 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/0.1295, allocations: 2.94 MB / 0.5608 GB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/0.13, allocations: 410.3 kB / 0.5612 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.1302, allocations: 35.98 kB / 0.5612 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.1307, allocations: 55.97 kB / 0.5613 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.1309, allocations: 121 kB / 0.5614 GB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.1309, allocations: 43.98 kB / 0.5615 GB, free: 2.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001312/0.1322, allocations: 1.403 MB / 0.5628 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1322, allocations: 0 / 0.5628 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.1544/0.2866, allocations: 0.6446 MB / 0.5635 GB, free: 117 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],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 (132): * Single equations (assignments): 131 * 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 {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004189/0.2908, allocations: 3.535 MB / 0.5669 GB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.2935, allocations: 2.123 MB / 0.569 GB, free: 115.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.2935, allocations: 0 / 0.569 GB, free: 115.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.2946, allocations: 1.022 MB / 0.57 GB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.2964, allocations: 0.5911 MB / 0.5706 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/0.3228, allocations: 22.14 MB / 0.5922 GB, free: 96.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.3244, allocations: 1.897 MB / 0.594 GB, free: 94.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001594/0.326, allocations: 0.5001 MB / 0.5945 GB, free: 94.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/0.3273, allocations: 1.34 MB / 0.5958 GB, free: 93.06 MB / 426.7 MB Notification: Performance of SimCode: time 9.21e-07/0.3273, allocations: 0 / 0.5958 GB, free: 93.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06042/0.3877, allocations: 59.84 MB / 0.6543 GB, free: 33.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.643/9.031, allocations: 2.969 kB / 0.6543 GB, free: 33.78 MB / 426.7 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2_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_ShortCircuit2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.016280144453049] Failed to read output from testmodel.py, exit status != 0: 9.145369234494865 9.152204907 9.112964236 Calling exit ...