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.001434/0.001434, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.501/1.501, allocations: 230.6 MB / 249.8 MB, free: 9.219 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.001667/0.001667, allocations: 214.4 kB / 306 MB, free: 4.309 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.04104/0.04104, allocations: 8.91 MB / 371 MB, free: 3.445 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_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: 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.002425/0.002425, allocations: 87.88 kB / 495.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2832, allocations: 55.57 MB / 0.5384 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.0134/0.2966, allocations: 16.62 MB / 0.5547 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008829/0.3055, allocations: 5.605 MB / 0.5601 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.3082, allocations: 122.1 kB / 0.5603 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003339/0.3115, allocations: 1.27 MB / 0.5615 GB, free: 9.93 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.0048/0.3163, allocations: 1.561 MB / 0.563 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.3191, allocations: 1.041 MB / 0.564 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006734/0.3259, allocations: 4.637 MB / 0.5686 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004093/0.3299, allocations: 2.429 MB / 0.5709 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/0.3342, allocations: 2.111 MB / 0.573 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006591/0.3408, allocations: 2.484 MB / 0.5754 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002705/0.3435, allocations: 0.561 MB / 0.576 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.347, allocations: 0.7923 MB / 0.5768 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.3489, allocations: 1.244 MB / 0.578 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006753/0.3556, allocations: 2.383 MB / 0.5803 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.3689, allocations: 7.378 MB / 0.5875 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.3689, allocations: 0 / 0.5875 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3689, allocations: 5.094 kB / 0.5875 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002722/0.3692, allocations: 0 / 0.5875 GB, free: 10.68 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.01746/0.3867, allocations: 4.961 MB / 0.5924 GB, free: 6.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.3867, allocations: 8.031 kB / 0.5924 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001713/0.3884, allocations: 0.5568 MB / 0.5929 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005664/0.3941, allocations: 0.939 MB / 0.5938 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007174/0.4013, allocations: 2.774 MB / 0.5965 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.4016, allocations: 275.8 kB / 0.5968 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.4028, allocations: 371.9 kB / 0.5971 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.4154, allocations: 4.678 MB / 0.6017 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.4155, allocations: 7.953 kB / 0.6017 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006563/0.4162, allocations: 148 kB / 0.6019 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000201/0.4164, allocations: 151.3 kB / 0.602 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009907/0.4263, allocations: 3.913 MB / 0.6058 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.46, allocations: 15.33 MB / 0.6208 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007762/0.4678, allocations: 6.114 MB / 0.6268 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00265/0.4704, allocations: 1.195 MB / 0.6279 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009371/0.4798, allocations: 4.905 MB / 0.6327 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.4798, allocations: 59.42 kB / 0.6328 GB, free: 11.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=118): time 3.426e-06/0.4798, allocations: 0 / 0.6328 GB, free: 11.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=144): time 0.01315/0.493, allocations: 5.316 MB / 0.638 GB, free: 6.164 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.493, allocations: 68.72 kB / 0.638 GB, free: 6.082 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.4968, allocations: 2.17 MB / 0.6402 GB, free: 3.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.497, allocations: 49.7 kB / 0.6402 GB, free: 3.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.4986, allocations: 1.801 MB / 0.642 GB, free: 2.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005743/0.4992, allocations: 0.5152 MB / 0.6425 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006974/0.4999, allocations: 416 kB / 0.6429 GB, free: 1.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5, allocations: 313 kB / 0.6432 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.5015, allocations: 0.7618 MB / 0.6439 GB, free: 15.99 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.5036, allocations: 1.541 MB / 0.6454 GB, free: 14.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/0.5203, allocations: 4.855 MB / 0.6502 GB, free: 8.867 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/0.5203, allocations: 8 kB / 0.6502 GB, free: 8.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005817/0.5262, allocations: 2.798 MB / 0.6529 GB, free: 6.047 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.5262, allocations: 20.58 kB / 0.6529 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.245e-05/0.5262, allocations: 24 kB / 0.6529 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008596/0.5271, allocations: 281.5 kB / 0.6532 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.5291, allocations: 499.2 kB / 0.6537 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004749/0.5338, allocations: 3.374 MB / 0.657 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.5364, allocations: 99.88 kB / 0.6571 GB, free: 1.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/0.5368, allocations: 108 kB / 0.6572 GB, free: 1.523 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[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.002911/0.5397, allocations: 1.092 MB / 0.6582 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000667/0.5404, allocations: 238.5 kB / 0.6585 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/0.5444, allocations: 1.759 MB / 0.6602 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.5444, allocations: 16 kB / 0.6602 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5444, allocations: 4 kB / 0.6602 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.5444, allocations: 11.91 kB / 0.6602 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.555, allocations: 4.995 MB / 0.6651 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.555, allocations: 0 / 0.6651 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.5562, allocations: 259.9 kB / 0.6653 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006893/0.5569, allocations: 215.9 kB / 0.6655 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.557, allocations: 35.98 kB / 0.6656 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004267/0.5613, allocations: 3.268 MB / 0.6688 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5613, allocations: 3.938 kB / 0.6688 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004988/0.5662, allocations: 2.669 MB / 0.6714 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.5675, allocations: 467.4 kB / 0.6718 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/0.5679, allocations: 39.94 kB / 0.6719 GB, free: 2.137 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.5689, allocations: 55.95 kB / 0.6719 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.5692, allocations: 101.1 kB / 0.672 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5693, allocations: 40 kB / 0.6721 GB, free: 1.945 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002581/0.5719, allocations: 1.459 MB / 0.6735 GB, free: 480 kB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5719, allocations: 0 / 0.6735 GB, free: 480 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.002791/0.5747, allocations: 0.6328 MB / 0.6741 GB, free: 15.83 MB / 494.1 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.005358/0.58, allocations: 3.274 MB / 0.6773 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004095/0.5841, allocations: 2.061 MB / 0.6793 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5841, allocations: 0 / 0.6793 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.5859, allocations: 0.8888 MB / 0.6802 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/0.589, allocations: 0.5951 MB / 0.6808 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04221/0.6312, allocations: 21.8 MB / 0.702 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.214/0.8451, allocations: 2.423 MB / 0.7044 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00222/0.8474, allocations: 0.5065 MB / 0.7049 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002104/0.8495, allocations: 1.341 MB / 0.7062 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/0.8495, allocations: 0 / 0.7062 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/0.96, allocations: 56.07 MB / 0.761 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.8/16.76, allocations: 0 / 0.761 GB, free: 109.1 MB / 0.4981 GB " [Timeout remaining time 643] (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 sys.exit(0), Time elapsed: 19.758582208000007] Failed to read output from testmodel.py, exit status != 0: 16.883498313996824 16.893253129 16.52174154 Calling exit ...