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.001649/0.001649, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.474/1.474, allocations: 230.6 MB / 253.4 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.0019/0.0019, allocations: 221.4 kB / 310 MB, free: 3.16 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.0426/0.0426, allocations: 8.919 MB / 375.3 MB, free: 1.922 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.00279/0.00279, allocations: 94.52 kB / 0.4905 GB, free: 6.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.343, allocations: 55.6 MB / 0.5448 GB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01485/0.3579, allocations: 16.7 MB / 0.5611 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.3686, allocations: 5.602 MB / 0.5666 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/0.373, allocations: 119.2 kB / 0.5667 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004942/0.3779, allocations: 1.27 MB / 0.5679 GB, free: 10.35 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.007125/0.3851, allocations: 1.574 MB / 0.5695 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003647/0.3887, allocations: 1.06 MB / 0.5705 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008105/0.3968, allocations: 4.644 MB / 0.575 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005057/0.4019, allocations: 1.997 MB / 0.577 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005017/0.4069, allocations: 2.116 MB / 0.579 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006203/0.4131, allocations: 2.483 MB / 0.5815 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002747/0.4158, allocations: 0.5604 MB / 0.582 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0042/0.42, allocations: 0.7955 MB / 0.5828 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002843/0.4229, allocations: 1.25 MB / 0.584 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006636/0.4295, allocations: 2.386 MB / 0.5863 GB, free: 208 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01576/0.4453, allocations: 7.382 MB / 0.5936 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4453, allocations: 1.094 kB / 0.5936 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4453, allocations: 0 / 0.5936 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003264/0.4456, allocations: 0 / 0.5936 GB, free: 10.62 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.01996/0.4656, allocations: 4.883 MB / 0.5983 GB, free: 6.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4656, allocations: 12.03 kB / 0.5983 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006641/0.4723, allocations: 0.9468 MB / 0.5993 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008884/0.4811, allocations: 2.694 MB / 0.6019 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004011/0.4815, allocations: 271.8 kB / 0.6022 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001626/0.4832, allocations: 376.1 kB / 0.6025 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/0.4975, allocations: 4.688 MB / 0.6071 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/0.4977, allocations: 11.94 kB / 0.6071 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/0.4989, allocations: 152 kB / 0.6072 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/0.4991, allocations: 155.3 kB / 0.6074 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.5096, allocations: 3.905 MB / 0.6112 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0345/0.5441, allocations: 15.13 MB / 0.626 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005579/0.5496, allocations: 2.535 MB / 0.6285 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/0.5524, allocations: 1.297 MB / 0.6297 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009632/0.562, allocations: 3.718 MB / 0.6334 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/0.5621, allocations: 51.88 kB / 0.6334 GB, free: 1.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 3.156e-06/0.5621, allocations: 0 / 0.6334 GB, free: 1.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.01157/0.5737, allocations: 4.742 MB / 0.638 GB, free: 12.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.5737, allocations: 72.7 kB / 0.6381 GB, free: 12.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004322/0.578, allocations: 2.006 MB / 0.6401 GB, free: 10.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.5782, allocations: 49.7 kB / 0.6401 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001746/0.5799, allocations: 1.716 MB / 0.6418 GB, free: 8.922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000583/0.5805, allocations: 0.5035 MB / 0.6423 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000675/0.5812, allocations: 363.4 kB / 0.6426 GB, free: 8.055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5813, allocations: 309.1 kB / 0.6429 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.5826, allocations: 0.6676 MB / 0.6436 GB, free: 7.082 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/0.5845, allocations: 1.38 MB / 0.6449 GB, free: 5.375 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003232/0.5878, allocations: 2.191 MB / 0.6471 GB, free: 2.855 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.258e-05/0.5878, allocations: 4 kB / 0.6471 GB, free: 2.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.00465/0.5924, allocations: 2.427 MB / 0.6494 GB, free: 420 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.5925, allocations: 16 kB / 0.6494 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-05/0.5925, allocations: 20 kB / 0.6495 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.5929, allocations: 142.2 kB / 0.6496 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.5946, allocations: 467.2 kB / 0.65 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.597, allocations: 2.031 MB / 0.652 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.599, allocations: 83.86 kB / 0.6521 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/0.5993, allocations: 92 kB / 0.6522 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.003311/0.6026, allocations: 1.061 MB / 0.6532 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/0.6036, allocations: 234.6 kB / 0.6535 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/0.6084, allocations: 1.846 MB / 0.6553 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.6084, allocations: 12 kB / 0.6553 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.22e-05/0.6084, allocations: 4.188 kB / 0.6553 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.6085, allocations: 7.969 kB / 0.6553 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.6197, allocations: 4.754 MB / 0.6599 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.6197, allocations: 4 kB / 0.6599 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009083/0.6206, allocations: 203.8 kB / 0.6601 GB, free: 5.207 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009231/0.6216, allocations: 334.4 kB / 0.6604 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.6217, allocations: 35.98 kB / 0.6605 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008027/0.6297, allocations: 6.776 MB / 0.6671 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.6297, allocations: 3.938 kB / 0.6671 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005164/0.6349, allocations: 2.745 MB / 0.6698 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.6363, allocations: 370.5 kB / 0.6701 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006502/0.6369, allocations: 31.94 kB / 0.6702 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.6383, allocations: 63.95 kB / 0.6702 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/0.6386, allocations: 105 kB / 0.6703 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6387, allocations: 39.98 kB / 0.6704 GB, free: 10.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003183/0.6418, allocations: 1.355 MB / 0.6717 GB, free: 8.949 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6418, allocations: 0 / 0.6717 GB, free: 8.949 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003336/0.6452, allocations: 0.6054 MB / 0.6723 GB, free: 8.344 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.0004984/0.6457, allocations: 179.9 kB / 0.6724 GB, free: 8.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.6493, allocations: 1.741 MB / 0.6741 GB, free: 6.406 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6493, allocations: 0 / 0.6741 GB, free: 6.406 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00217/0.6515, allocations: 1.169 MB / 0.6753 GB, free: 5.203 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/0.6553, allocations: 0.577 MB / 0.6759 GB, free: 4.629 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.6707, allocations: 6.082 MB / 0.6818 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003596/0.6743, allocations: 2.354 MB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008617/0.6752, allocations: 167.4 kB / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6752, allocations: 4 kB / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of Templates: time 0.3596/1.035, allocations: 86.19 MB / 0.7684 GB, free: 67.57 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: 14.482484132051468] Failed to read output from testmodel.py, exit status != 0: 1.0445710511412472 1.053146737 0.60540858 Calling exit ...