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.001372/0.001372, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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 1.46/1.46, allocations: 230.6 MB / 252.6 MB, free: 8.289 MB / 206.1 MB " [Timeout remaining time 178] 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.001648/0.001648, allocations: 217.5 kB / 309.2 MB, free: 3.129 MB / 238.1 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.04261/0.04261, allocations: 8.915 MB / 374.6 MB, free: 1.895 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 86.27 kB / 0.4893 GB, free: 4.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1099, allocations: 55.62 MB / 0.5436 GB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.0213/0.1312, allocations: 16.7 MB / 0.5599 GB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.1433, allocations: 5.602 MB / 0.5654 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.1462, allocations: 115.4 kB / 0.5655 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004307/0.1505, allocations: 1.266 MB / 0.5667 GB, free: 13.2 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.005834/0.1564, allocations: 1.58 MB / 0.5682 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.1596, allocations: 1.05 MB / 0.5693 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007471/0.1671, allocations: 4.654 MB / 0.5738 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00382/0.1709, allocations: 1.995 MB / 0.5758 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004055/0.175, allocations: 2.118 MB / 0.5778 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004601/0.1796, allocations: 2.479 MB / 0.5803 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.181, allocations: 0.5625 MB / 0.5808 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.1836, allocations: 0.8005 MB / 0.5816 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.1853, allocations: 1.25 MB / 0.5828 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004543/0.1899, allocations: 2.384 MB / 0.5851 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.2024, allocations: 7.366 MB / 0.5923 GB, free: 2.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.2024, allocations: 0 / 0.5923 GB, free: 2.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2024, allocations: 0 / 0.5923 GB, free: 2.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002278/0.2026, allocations: 3.938 kB / 0.5923 GB, free: 2.809 MB / 398.1 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.01551/0.2181, allocations: 4.89 MB / 0.5971 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.2182, allocations: 12.03 kB / 0.5971 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001374/0.2196, allocations: 0.549 MB / 0.5977 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005549/0.2251, allocations: 0.9429 MB / 0.5986 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007703/0.2328, allocations: 2.698 MB / 0.6012 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/0.2332, allocations: 271.8 kB / 0.6015 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/0.2346, allocations: 375.9 kB / 0.6018 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.246, allocations: 4.688 MB / 0.6064 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.2461, allocations: 7.891 kB / 0.6064 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004964/0.2466, allocations: 148 kB / 0.6066 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/0.2468, allocations: 159.3 kB / 0.6067 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009609/0.2564, allocations: 3.901 MB / 0.6105 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03075/0.2872, allocations: 15.1 MB / 0.6253 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005169/0.2924, allocations: 2.544 MB / 0.6277 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002811/0.2952, allocations: 1.359 MB / 0.6291 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008192/0.3034, allocations: 3.69 MB / 0.6327 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.3034, allocations: 47.56 kB / 0.6327 GB, free: 8.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=125): time 3.436e-06/0.3034, allocations: 0 / 0.6327 GB, free: 8.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.01484/0.3183, allocations: 5.958 MB / 0.6385 GB, free: 2.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.3183, allocations: 68.72 kB / 0.6386 GB, free: 2.824 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/0.3222, allocations: 2.086 MB / 0.6406 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.3224, allocations: 57.7 kB / 0.6407 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.3241, allocations: 1.751 MB / 0.6424 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006886/0.3248, allocations: 0.5578 MB / 0.6429 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006954/0.3255, allocations: 408.1 kB / 0.6433 GB, free: 13.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3256, allocations: 309.1 kB / 0.6436 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.3271, allocations: 0.7774 MB / 0.6444 GB, free: 12.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.3292, allocations: 1.548 MB / 0.6459 GB, free: 10.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/0.3459, allocations: 4.84 MB / 0.6506 GB, free: 5.723 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-05/0.346, allocations: 11.94 kB / 0.6506 GB, free: 5.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.006654/0.3526, allocations: 2.873 MB / 0.6534 GB, free: 2.824 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.3527, allocations: 16 kB / 0.6535 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.958e-05/0.3527, allocations: 28.64 kB / 0.6535 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.3538, allocations: 360.5 kB / 0.6538 GB, free: 2.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.3557, allocations: 487.2 kB / 0.6543 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2517/0.6074, allocations: 3.978 MB / 0.6582 GB, free: 95.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.6097, allocations: 96.48 kB / 0.6583 GB, free: 95.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.61, allocations: 108.3 kB / 0.6584 GB, free: 95.83 MB / 462.1 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.002161/0.6121, allocations: 1.087 MB / 0.6594 GB, free: 95.72 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/0.6126, allocations: 239.9 kB / 0.6597 GB, free: 95.72 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.6164, allocations: 1.976 MB / 0.6616 GB, free: 95.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.6164, allocations: 15.38 kB / 0.6616 GB, free: 95.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.6165, allocations: 4.125 kB / 0.6616 GB, free: 95.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.6165, allocations: 10.06 kB / 0.6616 GB, free: 95.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.6286, allocations: 5.425 MB / 0.6669 GB, free: 92.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.6286, allocations: 3.094 kB / 0.6669 GB, free: 92.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.6299, allocations: 266.8 kB / 0.6672 GB, free: 92.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008363/0.6307, allocations: 284.2 kB / 0.6675 GB, free: 92.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.6308, allocations: 40.06 kB / 0.6675 GB, free: 92.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/0.6349, allocations: 3.74 MB / 0.6711 GB, free: 89.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6349, allocations: 1.969 kB / 0.6711 GB, free: 89.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.6396, allocations: 2.945 MB / 0.674 GB, free: 88.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.641, allocations: 407.1 kB / 0.6744 GB, free: 88.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003996/0.6414, allocations: 38.39 kB / 0.6744 GB, free: 88.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.6425, allocations: 57.02 kB / 0.6745 GB, free: 88.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.6428, allocations: 118.4 kB / 0.6746 GB, free: 88.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.389e-05/0.6428, allocations: 47.42 kB / 0.6747 GB, free: 88.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002181/0.645, allocations: 1.399 MB / 0.676 GB, free: 87.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.645, allocations: 0 / 0.676 GB, free: 87.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002832/0.6479, allocations: 0.6431 MB / 0.6767 GB, free: 87.81 MB / 462.1 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.004558/0.6524, allocations: 3.559 MB / 0.6801 GB, free: 85.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003314/0.6557, allocations: 2.121 MB / 0.6822 GB, free: 84.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6557, allocations: 7.375 kB / 0.6822 GB, free: 84.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.6573, allocations: 1.012 MB / 0.6832 GB, free: 84.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/0.6603, allocations: 0.5879 MB / 0.6838 GB, free: 84.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03182/0.6922, allocations: 22.19 MB / 0.7054 GB, free: 63.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/0.6941, allocations: 2.443 MB / 0.7078 GB, free: 60.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001762/0.6958, allocations: 0.4959 MB / 0.7083 GB, free: 60.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/0.6974, allocations: 1.339 MB / 0.7096 GB, free: 58.87 MB / 462.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6974, allocations: 0 / 0.7096 GB, free: 58.87 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/0.8027, allocations: 58.94 MB / 0.7672 GB, free: 456 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.43/18.24, allocations: 7.359 kB / 0.7672 GB, free: 452 kB / 462.1 MB " [Timeout remaining time 642] (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 sys.exit(0), Time elapsed: 21.34680779500195] Failed to read output from testmodel.py, exit status != 0: 18.38410747099988 18.400690325 18.194706956 Calling exit ...