Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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.00148/0.00148, allocations: 110.4 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.541/1.541, allocations: 230.6 MB / 252.6 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.001661/0.001661, allocations: 219.3 kB / 309.2 MB, free: 3.137 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.04522/0.04522, allocations: 8.915 MB / 374.6 MB, free: 1.887 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_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",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.002674/0.002674, allocations: 95.8 kB / 0.4893 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.282, allocations: 55.6 MB / 0.5436 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01514/0.2972, allocations: 16.71 MB / 0.5599 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.3072, allocations: 5.604 MB / 0.5654 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003123/0.3104, allocations: 118.1 kB / 0.5655 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003702/0.3141, allocations: 1.268 MB / 0.5667 GB, free: 9.855 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.006071/0.3201, allocations: 1.573 MB / 0.5682 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.3236, allocations: 1.058 MB / 0.5693 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006967/0.3306, allocations: 4.641 MB / 0.5738 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004691/0.3352, allocations: 1.997 MB / 0.5758 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004578/0.3398, allocations: 2.117 MB / 0.5778 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005256/0.3451, allocations: 2.488 MB / 0.5803 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002336/0.3474, allocations: 0.5596 MB / 0.5808 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.3512, allocations: 0.7965 MB / 0.5816 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002257/0.3534, allocations: 1.245 MB / 0.5828 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006339/0.3598, allocations: 2.382 MB / 0.5851 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.3745, allocations: 7.377 MB / 0.5923 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3745, allocations: 3.938 kB / 0.5923 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3745, allocations: 1.031 kB / 0.5923 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002899/0.3748, allocations: 0 / 0.5923 GB, free: 10.31 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.0193/0.3941, allocations: 4.894 MB / 0.5971 GB, free: 5.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/0.3942, allocations: 12.03 kB / 0.5971 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002665/0.3968, allocations: 0.549 MB / 0.5977 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006889/0.4037, allocations: 0.939 MB / 0.5986 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009053/0.4128, allocations: 2.694 MB / 0.6012 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/0.4132, allocations: 275.8 kB / 0.6015 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.4147, allocations: 371.9 kB / 0.6018 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/0.4287, allocations: 4.688 MB / 0.6064 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001994/0.4289, allocations: 7.891 kB / 0.6064 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/0.4301, allocations: 156 kB / 0.6066 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/0.4303, allocations: 155.3 kB / 0.6067 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.4414, allocations: 3.905 MB / 0.6105 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03292/0.4743, allocations: 15.14 MB / 0.6253 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005478/0.4797, allocations: 2.544 MB / 0.6278 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/0.4825, allocations: 1.285 MB / 0.629 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008599/0.4911, allocations: 3.718 MB / 0.6327 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.4911, allocations: 51.88 kB / 0.6327 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 3.256e-06/0.4911, allocations: 0 / 0.6327 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.01263/0.5037, allocations: 4.731 MB / 0.6373 GB, free: 12.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.5038, allocations: 68.66 kB / 0.6374 GB, free: 12.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004463/0.5083, allocations: 2.009 MB / 0.6394 GB, free: 10.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003196/0.5086, allocations: 53.7 kB / 0.6394 GB, free: 10.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/0.5105, allocations: 1.724 MB / 0.6411 GB, free: 8.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007795/0.5113, allocations: 0.4919 MB / 0.6416 GB, free: 7.789 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009968/0.5123, allocations: 375.4 kB / 0.6419 GB, free: 7.418 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5124, allocations: 305.1 kB / 0.6422 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.5139, allocations: 0.6637 MB / 0.6429 GB, free: 6.453 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.5161, allocations: 1.376 MB / 0.6442 GB, free: 4.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/0.52, allocations: 2.191 MB / 0.6464 GB, free: 2.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.898e-05/0.52, allocations: 12 kB / 0.6464 GB, free: 2.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.005498/0.5255, allocations: 2.42 MB / 0.6487 GB, free: 15.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.5255, allocations: 12 kB / 0.6488 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.199e-05/0.5256, allocations: 28.03 kB / 0.6488 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.526, allocations: 145.6 kB / 0.6489 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.5279, allocations: 471.2 kB / 0.6494 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.5303, allocations: 2.019 MB / 0.6513 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.5323, allocations: 79.89 kB / 0.6514 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003341/0.5327, allocations: 104 kB / 0.6515 GB, free: 12.82 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002349/0.535, allocations: 1.055 MB / 0.6525 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/0.5356, allocations: 226.6 kB / 0.6528 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/0.5399, allocations: 1.846 MB / 0.6546 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.5399, allocations: 16 kB / 0.6546 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.5399, allocations: 4 kB / 0.6546 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.5399, allocations: 7.984 kB / 0.6546 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.5507, allocations: 4.746 MB / 0.6592 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.5508, allocations: 4.281 kB / 0.6592 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.5518, allocations: 207.7 kB / 0.6594 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009753/0.5528, allocations: 322.4 kB / 0.6597 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/0.5529, allocations: 35.98 kB / 0.6598 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008158/0.5611, allocations: 6.793 MB / 0.6664 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5611, allocations: 4.062 kB / 0.6664 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005367/0.5665, allocations: 2.745 MB / 0.6691 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/0.5681, allocations: 374.5 kB / 0.6694 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006219/0.5688, allocations: 31.94 kB / 0.6695 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.57, allocations: 55.92 kB / 0.6695 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.5704, allocations: 109 kB / 0.6696 GB, free: 9.742 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.5705, allocations: 43.98 kB / 0.6697 GB, free: 9.699 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002934/0.5734, allocations: 1.351 MB / 0.671 GB, free: 8.328 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5734, allocations: 0 / 0.671 GB, free: 8.328 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003701/0.5771, allocations: 0.6016 MB / 0.6716 GB, free: 7.727 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006317/0.5834, allocations: 3.372 MB / 0.6749 GB, free: 4.289 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003524/0.587, allocations: 1.734 MB / 0.6766 GB, free: 2.543 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.587, allocations: 0.5 kB / 0.6766 GB, free: 2.543 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002265/0.5892, allocations: 1.167 MB / 0.6777 GB, free: 1.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/0.5927, allocations: 0.581 MB / 0.6783 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3091/0.9018, allocations: 20.85 MB / 0.6986 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/0.9044, allocations: 2.406 MB / 0.701 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001646/0.906, allocations: 468.3 kB / 0.7014 GB, free: 120 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/0.9079, allocations: 1.306 MB / 0.7027 GB, free: 119.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.244e-06/0.9079, allocations: 2.516 kB / 0.7027 GB, free: 119.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/1.018, allocations: 55.39 MB / 0.7568 GB, free: 85.94 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/17.4, allocations: 5.828 kB / 0.7568 GB, free: 85.94 MB / 494.1 MB " [Timeout remaining time 642] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3_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_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.413077726996562] Failed to read output from testmodel.py, exit status != 0: 17.54567330700229 17.562338324 17.183881477 Calling exit ...