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.001836/0.001836, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.42/1.42, allocations: 230.6 MB / 252.7 MB, free: 8.293 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.001683/0.001683, allocations: 205.8 kB / 309.2 MB, free: 3.148 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.04202/0.04202, allocations: 8.921 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_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.002606/0.002606, allocations: 87.8 kB / 0.4893 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3018, allocations: 55.59 MB / 0.5436 GB, free: 26.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01269/0.3145, allocations: 16.7 MB / 0.5599 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009186/0.3237, allocations: 5.611 MB / 0.5653 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004132/0.3278, allocations: 117.2 kB / 0.5655 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004478/0.3323, allocations: 1.272 MB / 0.5667 GB, free: 10.03 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.00502/0.3373, allocations: 1.564 MB / 0.5682 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.3403, allocations: 1.066 MB / 0.5693 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006206/0.3465, allocations: 4.637 MB / 0.5738 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003434/0.35, allocations: 1.992 MB / 0.5757 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.3538, allocations: 2.121 MB / 0.5778 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004386/0.3582, allocations: 2.483 MB / 0.5802 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001611/0.3598, allocations: 0.5594 MB / 0.5808 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.3626, allocations: 0.7915 MB / 0.5816 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001816/0.3644, allocations: 1.246 MB / 0.5828 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005122/0.3695, allocations: 2.386 MB / 0.5851 GB, free: 36 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.3817, allocations: 7.37 MB / 0.5923 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3817, allocations: 3.938 kB / 0.5923 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3817, allocations: 5.188 kB / 0.5923 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002264/0.3819, allocations: 3.938 kB / 0.5923 GB, free: 10.46 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.01703/0.3989, allocations: 4.892 MB / 0.5971 GB, free: 6.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.399, allocations: 8.031 kB / 0.5971 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00154/0.4005, allocations: 0.5529 MB / 0.5976 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005855/0.4064, allocations: 0.939 MB / 0.5986 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008175/0.4146, allocations: 2.698 MB / 0.6012 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003283/0.4149, allocations: 275.8 kB / 0.6015 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001576/0.4165, allocations: 371.8 kB / 0.6018 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.4272, allocations: 4.678 MB / 0.6064 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.11e-05/0.4273, allocations: 3.953 kB / 0.6064 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000526/0.4278, allocations: 151.9 kB / 0.6065 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.428, allocations: 155.3 kB / 0.6067 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00933/0.4373, allocations: 3.909 MB / 0.6105 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03014/0.4674, allocations: 14.95 MB / 0.6251 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005303/0.4728, allocations: 2.441 MB / 0.6275 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/0.4753, allocations: 1.191 MB / 0.6286 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008964/0.4843, allocations: 3.522 MB / 0.6321 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.4844, allocations: 55.5 kB / 0.6321 GB, free: 1.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=118): time 4.028e-06/0.4844, allocations: 4 kB / 0.6321 GB, free: 1.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=144): time 0.01347/0.4978, allocations: 5.172 MB / 0.6372 GB, free: 12.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.4979, allocations: 72.59 kB / 0.6373 GB, free: 12.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004322/0.5022, allocations: 2.166 MB / 0.6394 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002811/0.5025, allocations: 49.7 kB / 0.6394 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.5043, allocations: 1.794 MB / 0.6412 GB, free: 8.383 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007677/0.505, allocations: 0.5269 MB / 0.6417 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00086/0.5059, allocations: 419.9 kB / 0.6421 GB, free: 7.434 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.506, allocations: 305.1 kB / 0.6424 GB, free: 7.133 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.5075, allocations: 0.7657 MB / 0.6431 GB, free: 6.363 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.5097, allocations: 1.537 MB / 0.6446 GB, free: 4.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/0.5257, allocations: 4.779 MB / 0.6493 GB, free: 15.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/0.5258, allocations: 8 kB / 0.6493 GB, free: 15.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006098/0.5319, allocations: 2.794 MB / 0.652 GB, free: 12.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.5319, allocations: 16.59 kB / 0.652 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.228e-05/0.532, allocations: 32 kB / 0.6521 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008576/0.5328, allocations: 271.7 kB / 0.6523 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/0.5348, allocations: 499.2 kB / 0.6528 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/0.5395, allocations: 3.291 MB / 0.656 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.5416, allocations: 99.94 kB / 0.6561 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/0.5419, allocations: 104 kB / 0.6562 GB, free: 8.113 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.002198/0.5441, allocations: 1.086 MB / 0.6573 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005097/0.5446, allocations: 242.5 kB / 0.6575 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/0.5482, allocations: 1.759 MB / 0.6592 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.5482, allocations: 12 kB / 0.6592 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.5482, allocations: 7.938 kB / 0.6592 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.5482, allocations: 7.969 kB / 0.6593 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.5583, allocations: 4.959 MB / 0.6641 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5583, allocations: 4 kB / 0.6641 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.5596, allocations: 259.9 kB / 0.6643 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007069/0.5603, allocations: 215.9 kB / 0.6646 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.5604, allocations: 35.98 kB / 0.6646 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004295/0.5647, allocations: 3.154 MB / 0.6677 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/0.5647, allocations: 7.875 kB / 0.6677 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00475/0.5695, allocations: 2.665 MB / 0.6703 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.5709, allocations: 398.4 kB / 0.6707 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005976/0.5715, allocations: 39.94 kB / 0.6707 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.5727, allocations: 47.97 kB / 0.6707 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.573, allocations: 101.1 kB / 0.6708 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/0.5731, allocations: 47.98 kB / 0.6709 GB, free: 8.805 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002715/0.5758, allocations: 1.455 MB / 0.6723 GB, free: 7.332 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5758, allocations: 0 / 0.6723 GB, free: 7.332 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002912/0.5787, allocations: 0.6366 MB / 0.6729 GB, free: 6.695 MB / 478.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.005601/0.5843, allocations: 3.286 MB / 0.6761 GB, free: 3.352 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004042/0.5883, allocations: 1.981 MB / 0.6781 GB, free: 1.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.5884, allocations: 1.938 kB / 0.6781 GB, free: 1.355 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.5902, allocations: 0.891 MB / 0.6789 GB, free: 464 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/0.5936, allocations: 0.5825 MB / 0.6795 GB, free: 15.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2536/0.8471, allocations: 21.82 MB / 0.7008 GB, free: 120.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/0.8493, allocations: 2.429 MB / 0.7032 GB, free: 119.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001727/0.851, allocations: 0.5033 MB / 0.7037 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/0.8527, allocations: 1.338 MB / 0.705 GB, free: 118.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.8527, allocations: 0 / 0.705 GB, free: 118.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/0.9593, allocations: 57.75 MB / 0.7614 GB, free: 81.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.43/18.39, allocations: 14.09 kB / 0.7614 GB, free: 81.69 MB / 494.1 MB " [Timeout remaining time 641] (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: 21.36760200199933] Failed to read output from testmodel.py, exit status != 0: 18.537483284999325 18.556700841 18.171234349 Calling exit ...