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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 113 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 242.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 192.2 kB / 295 MB, free: 12.64 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03834/0.03834, allocations: 8.8 MB / 356 MB, free: 15.88 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 83.86 kB / 473.4 MB, free: 5.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2181, allocations: 51.56 MB / 0.5126 GB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01821/0.2364, allocations: 15.93 MB / 0.5282 GB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009973/0.2464, allocations: 5.298 MB / 0.5334 GB, free: 7.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/0.2489, allocations: 95.62 kB / 0.5335 GB, free: 7.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.2521, allocations: 1.211 MB / 0.5346 GB, free: 6.402 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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.004279/0.2564, allocations: 1.528 MB / 0.5361 GB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.2587, allocations: 0.9833 MB / 0.5371 GB, free: 3.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006/0.2647, allocations: 4.599 MB / 0.5416 GB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004163/0.2689, allocations: 3.489 MB / 0.545 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.2718, allocations: 2.048 MB / 0.547 GB, free: 9.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003245/0.275, allocations: 2.327 MB / 0.5493 GB, free: 7.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008537/0.2759, allocations: 0.5586 MB / 0.5498 GB, free: 6.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.2774, allocations: 0.7693 MB / 0.5506 GB, free: 5.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.2785, allocations: 1.25 MB / 0.5518 GB, free: 4.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002615/0.2811, allocations: 2.377 MB / 0.5541 GB, free: 2.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007939/0.2891, allocations: 7.334 MB / 0.5613 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2891, allocations: 4 kB / 0.5613 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2891, allocations: 0 / 0.5613 GB, free: 10.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000127/0.2893, allocations: 0 / 0.5613 GB, free: 10.99 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.0117/0.301, allocations: 4.93 MB / 0.5661 GB, free: 5.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.301, allocations: 15.97 kB / 0.5661 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.3059, allocations: 0.9546 MB / 0.567 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/0.3113, allocations: 2.758 MB / 0.5697 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.3115, allocations: 279.8 kB / 0.57 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005931/0.3121, allocations: 368.1 kB / 0.5703 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007589/0.3197, allocations: 4.68 MB / 0.5749 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.279e-05/0.3198, allocations: 8 kB / 0.5749 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/0.3201, allocations: 151.9 kB / 0.5751 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/0.3203, allocations: 159.3 kB / 0.5752 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006324/0.3266, allocations: 3.898 MB / 0.579 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02133/0.348, allocations: 15.38 MB / 0.5941 GB, free: 8.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006231/0.3542, allocations: 6.056 MB / 0.6 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/0.3565, allocations: 1.378 MB / 0.6013 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006623/0.3632, allocations: 4.2 MB / 0.6054 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3632, allocations: 43.88 kB / 0.6055 GB, free: 12.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 2.535e-06/0.3632, allocations: 0 / 0.6055 GB, free: 12.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.009499/0.3728, allocations: 5.202 MB / 0.6105 GB, free: 6.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.3728, allocations: 64.72 kB / 0.6106 GB, free: 6.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/0.3757, allocations: 1.989 MB / 0.6125 GB, free: 4.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.3758, allocations: 49.7 kB / 0.6126 GB, free: 4.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.3771, allocations: 1.716 MB / 0.6143 GB, free: 2.914 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/0.3775, allocations: 0.4958 MB / 0.6147 GB, free: 2.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005142/0.378, allocations: 367.3 kB / 0.6151 GB, free: 2.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3782, allocations: 305.1 kB / 0.6154 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.3792, allocations: 0.6598 MB / 0.616 GB, free: 1.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.3809, allocations: 1.38 MB / 0.6174 GB, free: 15.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/0.3837, allocations: 2.195 MB / 0.6195 GB, free: 12.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.3837, allocations: 8 kB / 0.6195 GB, free: 12.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.00379/0.3875, allocations: 2.487 MB / 0.622 GB, free: 10.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.3876, allocations: 16 kB / 0.622 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.3876, allocations: 24.59 kB / 0.622 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.388, allocations: 145.6 kB / 0.6221 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.3895, allocations: 459.2 kB / 0.6226 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.3916, allocations: 2.13 MB / 0.6247 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.3928, allocations: 79.92 kB / 0.6247 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.393, allocations: 92 kB / 0.6248 GB, free: 7.262 MB / 446.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.001673/0.3947, allocations: 1.07 MB / 0.6259 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.395, allocations: 222.6 kB / 0.6261 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/0.3983, allocations: 2.008 MB / 0.628 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.3983, allocations: 12 kB / 0.628 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3984, allocations: 4 kB / 0.6281 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.3984, allocations: 7.969 kB / 0.6281 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007224/0.4056, allocations: 4.932 MB / 0.6329 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4056, allocations: 0 / 0.6329 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008384/0.4065, allocations: 207.7 kB / 0.6331 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007987/0.4073, allocations: 318.5 kB / 0.6334 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.4074, allocations: 35.98 kB / 0.6334 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007189/0.4146, allocations: 7.091 MB / 0.6403 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-06/0.4146, allocations: 11.92 kB / 0.6403 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004382/0.419, allocations: 2.895 MB / 0.6432 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008323/0.4198, allocations: 443.5 kB / 0.6436 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.4201, allocations: 36 kB / 0.6436 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008234/0.4209, allocations: 59.91 kB / 0.6437 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.4211, allocations: 97.11 kB / 0.6438 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.4212, allocations: 43.98 kB / 0.6438 GB, free: 3.047 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001933/0.4232, allocations: 1.343 MB / 0.6451 GB, free: 1.684 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4232, allocations: 0 / 0.6451 GB, free: 1.684 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001794/0.425, allocations: 0.6015 MB / 0.6457 GB, free: 1.082 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.0002889/0.4253, allocations: 155.7 kB / 0.6459 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002906/0.4282, allocations: 1.891 MB / 0.6477 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4282, allocations: 0 / 0.6477 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.43, allocations: 1.234 MB / 0.6489 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.4321, allocations: 0.5718 MB / 0.6495 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009699/0.4418, allocations: 6.039 MB / 0.6554 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/0.444, allocations: 2.342 MB / 0.6577 GB, free: 4.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/0.4446, allocations: 159.4 kB / 0.6578 GB, free: 4.523 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4446, allocations: 0 / 0.6578 GB, free: 4.523 MB / 478.1 MB Notification: Performance of Templates: time 0.2327/0.6772, allocations: 85.05 MB / 0.7409 GB, free: 61.26 MB / 478.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: 11.274547589942813] Failed to read output from testmodel.py, exit status != 0: 0.6829698020592332 0.691155191 0.40037071999999996 Calling exit ...