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.001502/0.001502, 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.501/1.501, allocations: 230.6 MB / 252.6 MB, free: 8.285 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.001639/0.001639, allocations: 213.6 kB / 309.2 MB, free: 3.141 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.04307/0.04307, allocations: 8.905 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: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") [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.002633/0.002633, allocations: 80.2 kB / 0.4897 GB, free: 6.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2565, allocations: 55.61 MB / 0.544 GB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01319/0.2697, allocations: 16.69 MB / 0.5603 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008525/0.2782, allocations: 5.61 MB / 0.5658 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.2805, allocations: 118.2 kB / 0.5659 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.2831, allocations: 1.27 MB / 0.5672 GB, free: 10.34 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.004138/0.2873, allocations: 1.575 MB / 0.5687 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.2897, allocations: 1.056 MB / 0.5697 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005912/0.2956, allocations: 4.65 MB / 0.5743 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.2988, allocations: 2.002 MB / 0.5762 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0047/0.3035, allocations: 2.118 MB / 0.5783 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004051/0.3075, allocations: 2.486 MB / 0.5807 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.3085, allocations: 0.5592 MB / 0.5813 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.3105, allocations: 0.7953 MB / 0.5821 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000957/0.3114, allocations: 1.242 MB / 0.5833 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002552/0.314, allocations: 2.394 MB / 0.5856 GB, free: 188 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009537/0.3235, allocations: 7.376 MB / 0.5928 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3235, allocations: 3.938 kB / 0.5928 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3235, allocations: 1.094 kB / 0.5928 GB, free: 10.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002216/0.3237, allocations: 0 / 0.5928 GB, free: 10.6 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.0165/0.3402, allocations: 4.881 MB / 0.5976 GB, free: 6.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3403, allocations: 8.031 kB / 0.5976 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005426/0.3457, allocations: 0.9429 MB / 0.5985 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006963/0.3527, allocations: 2.694 MB / 0.6011 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.3529, allocations: 279.8 kB / 0.6014 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007381/0.3537, allocations: 372.1 kB / 0.6018 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008602/0.3623, allocations: 4.688 MB / 0.6063 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-05/0.3624, allocations: 11.95 kB / 0.6063 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003561/0.3627, allocations: 152 kB / 0.6065 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.3629, allocations: 159.3 kB / 0.6066 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007423/0.3703, allocations: 3.901 MB / 0.6105 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.3965, allocations: 15.12 MB / 0.6252 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005343/0.4018, allocations: 2.542 MB / 0.6277 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002692/0.4045, allocations: 1.292 MB / 0.629 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008873/0.4134, allocations: 3.718 MB / 0.6326 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.4134, allocations: 55.88 kB / 0.6327 GB, free: 1.609 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 2.865e-06/0.4134, allocations: 0 / 0.6327 GB, free: 1.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.01233/0.4257, allocations: 4.734 MB / 0.6373 GB, free: 12.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.4258, allocations: 72.66 kB / 0.6373 GB, free: 12.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/0.4298, allocations: 2.017 MB / 0.6393 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.4299, allocations: 49.64 kB / 0.6394 GB, free: 10.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.4317, allocations: 1.72 MB / 0.641 GB, free: 8.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006215/0.4323, allocations: 0.4958 MB / 0.6415 GB, free: 8.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008432/0.4332, allocations: 363.4 kB / 0.6419 GB, free: 8.051 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.4334, allocations: 305.1 kB / 0.6422 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.4351, allocations: 0.6637 MB / 0.6428 GB, free: 7.086 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.4374, allocations: 1.38 MB / 0.6442 GB, free: 5.379 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003675/0.4411, allocations: 2.199 MB / 0.6463 GB, free: 2.852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/0.4411, allocations: 8 kB / 0.6463 GB, free: 2.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004984/0.4461, allocations: 2.419 MB / 0.6487 GB, free: 420 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.4461, allocations: 18.34 kB / 0.6487 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-05/0.4462, allocations: 24 kB / 0.6487 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000417/0.4466, allocations: 154.1 kB / 0.6489 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.4484, allocations: 459.3 kB / 0.6493 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.4509, allocations: 2.023 MB / 0.6513 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.4529, allocations: 87.86 kB / 0.6514 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.4531, allocations: 88 kB / 0.6514 GB, free: 13.46 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.00244/0.4555, allocations: 1.063 MB / 0.6525 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/0.4562, allocations: 230.6 kB / 0.6527 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.4602, allocations: 1.846 MB / 0.6545 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.4602, allocations: 12 kB / 0.6545 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.4602, allocations: 4 kB / 0.6545 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.4602, allocations: 11.97 kB / 0.6545 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.4703, allocations: 4.75 MB / 0.6592 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4703, allocations: 0 / 0.6592 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009823/0.4713, allocations: 207.7 kB / 0.6594 GB, free: 5.207 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009236/0.4723, allocations: 326.6 kB / 0.6597 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.4724, allocations: 35.98 kB / 0.6597 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008054/0.4804, allocations: 6.784 MB / 0.6663 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.4804, allocations: 8.016 kB / 0.6663 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004978/0.4854, allocations: 2.749 MB / 0.669 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.4866, allocations: 370.5 kB / 0.6694 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005639/0.4872, allocations: 28 kB / 0.6694 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.4885, allocations: 60.33 kB / 0.6695 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.4888, allocations: 109 kB / 0.6696 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.9e-05/0.4889, allocations: 40.06 kB / 0.6696 GB, free: 10.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002737/0.4916, allocations: 1.359 MB / 0.6709 GB, free: 8.941 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4916, allocations: 3.938 kB / 0.6709 GB, free: 8.938 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002542/0.4941, allocations: 0.6054 MB / 0.6715 GB, free: 8.332 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.000368/0.4945, allocations: 172.3 kB / 0.6717 GB, free: 8.152 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00331/0.4978, allocations: 1.744 MB / 0.6734 GB, free: 6.395 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4978, allocations: 4 kB / 0.6734 GB, free: 6.391 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.4998, allocations: 1.165 MB / 0.6745 GB, free: 5.191 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/0.5028, allocations: 0.5693 MB / 0.6751 GB, free: 4.629 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.5153, allocations: 6.106 MB / 0.6811 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002664/0.518, allocations: 2.402 MB / 0.6834 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001668/0.5196, allocations: 474.8 kB / 0.6839 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.5201, allocations: 151.4 kB / 0.684 GB, free: 11.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5201, allocations: 4 kB / 0.684 GB, free: 11.4 MB / 494.1 MB Notification: Performance of Templates: time 0.2543/0.7744, allocations: 29.64 MB / 0.713 GB, free: 116.9 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.233943486819044] Failed to read output from testmodel.py, exit status != 0: 0.7828803779557347 0.793849628 0.46740940300000006 Calling exit ...