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.001654/0.001654, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.565/1.565, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001736/0.001736, allocations: 211.5 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.04217/0.04217, allocations: 8.916 MB / 374.6 MB, free: 6.637 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.002602/0.002602, allocations: 83.88 kB / 0.4897 GB, free: 44.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09235, allocations: 55.61 MB / 0.544 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01936/0.1117, allocations: 14.44 MB / 0.5581 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.124, allocations: 5.298 MB / 0.5633 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004074/0.1281, allocations: 119.3 kB / 0.5634 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2139/0.342, allocations: 1.197 MB / 0.5645 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004932/0.3469, allocations: 1.547 MB / 0.566 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.3494, allocations: 1.016 MB / 0.567 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005935/0.3553, allocations: 4.639 MB / 0.5716 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003133/0.3584, allocations: 1.913 MB / 0.5734 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.362, allocations: 2.122 MB / 0.5755 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005237/0.3673, allocations: 2.306 MB / 0.5778 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002125/0.3694, allocations: 0.5636 MB / 0.5783 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.373, allocations: 0.7699 MB / 0.5791 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001603/0.3746, allocations: 1.246 MB / 0.5803 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004265/0.3789, allocations: 1.897 MB / 0.5821 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.389, allocations: 7.399 MB / 0.5894 GB, free: 3.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.389, allocations: 0 / 0.5894 GB, free: 3.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.389, allocations: 5.531 kB / 0.5894 GB, free: 3.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001897/0.3892, allocations: 0.625 kB / 0.5894 GB, free: 3.82 MB / 382.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.01519/0.4044, allocations: 4.883 MB / 0.5941 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4044, allocations: 13.61 kB / 0.5941 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005161/0.4096, allocations: 0.9414 MB / 0.5951 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006924/0.4165, allocations: 2.684 MB / 0.5977 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/0.417, allocations: 272.7 kB / 0.5979 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.418, allocations: 368.2 kB / 0.5983 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.429, allocations: 4.84 MB / 0.603 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.4291, allocations: 14.7 kB / 0.603 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004121/0.4295, allocations: 147.6 kB / 0.6032 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.4297, allocations: 160.8 kB / 0.6033 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007145/0.4368, allocations: 3.896 MB / 0.6071 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/0.4619, allocations: 13.3 MB / 0.6201 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005036/0.4669, allocations: 2.51 MB / 0.6226 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/0.4696, allocations: 1.29 MB / 0.6238 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008159/0.4777, allocations: 3.321 MB / 0.6271 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.4778, allocations: 51.81 kB / 0.6271 GB, free: 5.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.827e-06/0.4778, allocations: 4 kB / 0.6271 GB, free: 5.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01154/0.4893, allocations: 4.723 MB / 0.6317 GB, free: 288 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.4894, allocations: 68.72 kB / 0.6318 GB, free: 208 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/0.4925, allocations: 1.77 MB / 0.6335 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.4926, allocations: 53.7 kB / 0.6336 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.494, allocations: 1.735 MB / 0.6353 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/0.4945, allocations: 499.3 kB / 0.6358 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005754/0.4951, allocations: 375.3 kB / 0.6361 GB, free: 11.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4952, allocations: 301.1 kB / 0.6364 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4964, allocations: 0.6637 MB / 0.6371 GB, free: 10.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.4983, allocations: 1.406 MB / 0.6384 GB, free: 9.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.5015, allocations: 2.196 MB / 0.6406 GB, free: 6.566 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.5016, allocations: 8 kB / 0.6406 GB, free: 6.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004631/0.5062, allocations: 2.4 MB / 0.6429 GB, free: 4.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.5062, allocations: 16 kB / 0.6429 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/0.5063, allocations: 24.53 kB / 0.643 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004145/0.5067, allocations: 149.6 kB / 0.6431 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.5083, allocations: 459.3 kB / 0.6435 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.5107, allocations: 1.982 MB / 0.6455 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.5128, allocations: 75.94 kB / 0.6456 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.513, allocations: 96.23 kB / 0.6456 GB, free: 1.254 MB / 430.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.002498/0.5155, allocations: 1.06 MB / 0.6467 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005583/0.516, allocations: 218.6 kB / 0.6469 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/0.5196, allocations: 1.821 MB / 0.6487 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.5197, allocations: 15.98 kB / 0.6487 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.5197, allocations: 4 kB / 0.6487 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.5197, allocations: 7.984 kB / 0.6487 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009077/0.5288, allocations: 4.022 MB / 0.6526 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.5288, allocations: 0 / 0.6526 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009429/0.5297, allocations: 207.7 kB / 0.6528 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009583/0.5307, allocations: 325 kB / 0.6531 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.5308, allocations: 35.98 kB / 0.6532 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007531/0.5383, allocations: 6.637 MB / 0.6596 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5383, allocations: 3.984 kB / 0.6596 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.5432, allocations: 2.726 MB / 0.6623 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.5444, allocations: 341.5 kB / 0.6626 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/0.5448, allocations: 43.92 kB / 0.6627 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/0.5457, allocations: 51.91 kB / 0.6627 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/0.5459, allocations: 113 kB / 0.6628 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/0.546, allocations: 39.98 kB / 0.6629 GB, free: 15.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001968/0.548, allocations: 1.154 MB / 0.664 GB, free: 14.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.548, allocations: 0 / 0.664 GB, free: 14.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002259/0.5502, allocations: 0.5938 MB / 0.6646 GB, free: 13.45 MB / 462.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.0003333/0.5506, allocations: 163.4 kB / 0.6647 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00316/0.5537, allocations: 1.746 MB / 0.6664 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5537, allocations: 4.25 kB / 0.6664 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.5557, allocations: 1.17 MB / 0.6676 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.5583, allocations: 482.6 kB / 0.668 GB, free: 9.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.5704, allocations: 6.051 MB / 0.674 GB, free: 3.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.5732, allocations: 1.865 MB / 0.6758 GB, free: 1.824 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001741/0.5749, allocations: 441 kB / 0.6762 GB, free: 1.391 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.5754, allocations: 139.4 kB / 0.6763 GB, free: 1.258 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5754, allocations: 0 / 0.6763 GB, free: 1.258 MB / 462.1 MB Notification: Performance of Templates: time 0.0607/0.6361, allocations: 30.54 MB / 0.7062 GB, free: 3.145 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.094518756493926] Failed to read output from testmodel.py, exit status != 0: 0.6447305344045162 0.660250995 0.26773228 Calling exit ...