Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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.001414/0.001414, allocations: 110.4 kB / 17.08 MB, free: 5.824 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.274/1.274, allocations: 222.9 MB / 242.7 MB, free: 15.27 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.001547/0.001547, allocations: 185.8 kB / 295 MB, free: 12.67 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.0392/0.0392, allocations: 8.793 MB / 356 MB, free: 15.92 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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 79.86 kB / 473.4 MB, free: 5.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2337, allocations: 51.56 MB / 0.5126 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01799/0.2517, allocations: 15.93 MB / 0.5282 GB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.2621, allocations: 5.29 MB / 0.5334 GB, free: 7.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.2648, allocations: 99.69 kB / 0.5335 GB, free: 7.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.2684, allocations: 1.214 MB / 0.5346 GB, free: 6.438 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.005109/0.2736, allocations: 1.532 MB / 0.5361 GB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.2762, allocations: 0.9864 MB / 0.5371 GB, free: 3.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006242/0.2825, allocations: 4.595 MB / 0.5416 GB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005156/0.2876, allocations: 3.485 MB / 0.545 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.2908, allocations: 2.04 MB / 0.547 GB, free: 9.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003704/0.2945, allocations: 2.331 MB / 0.5493 GB, free: 7.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.2958, allocations: 0.5625 MB / 0.5498 GB, free: 6.801 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.298, allocations: 0.7771 MB / 0.5506 GB, free: 6.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.2996, allocations: 1.239 MB / 0.5518 GB, free: 4.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003355/0.303, allocations: 2.377 MB / 0.5541 GB, free: 2.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008563/0.3115, allocations: 7.338 MB / 0.5613 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3116, allocations: 0 / 0.5613 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3116, allocations: 0 / 0.5613 GB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001654/0.3118, allocations: 3.984 kB / 0.5613 GB, free: 11.03 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.01194/0.3237, allocations: 4.922 MB / 0.5661 GB, free: 6.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3238, allocations: 16.03 kB / 0.5661 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/0.3286, allocations: 0.9585 MB / 0.567 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005141/0.3337, allocations: 2.75 MB / 0.5697 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.334, allocations: 275.8 kB / 0.57 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005514/0.3345, allocations: 372.1 kB / 0.5703 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007723/0.3423, allocations: 4.67 MB / 0.5749 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/0.3424, allocations: 7.938 kB / 0.5749 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003344/0.3427, allocations: 148 kB / 0.575 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/0.3428, allocations: 151.3 kB / 0.5752 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006395/0.3492, allocations: 3.901 MB / 0.579 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0217/0.371, allocations: 15.2 MB / 0.5938 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006034/0.377, allocations: 5.948 MB / 0.5996 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.3792, allocations: 1.269 MB / 0.6009 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006385/0.3856, allocations: 4.126 MB / 0.6049 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3856, allocations: 43.56 kB / 0.605 GB, free: 12.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=118): time 2.475e-06/0.3856, allocations: 0 / 0.605 GB, free: 12.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=144): time 0.01066/0.3963, allocations: 5.318 MB / 0.6102 GB, free: 7.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3964, allocations: 68.7 kB / 0.6102 GB, free: 7.215 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.3994, allocations: 2.145 MB / 0.6123 GB, free: 5.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.733e-05/0.3995, allocations: 53.64 kB / 0.6124 GB, free: 4.977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.4009, allocations: 1.782 MB / 0.6141 GB, free: 3.176 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/0.4013, allocations: 0.5307 MB / 0.6146 GB, free: 2.641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005976/0.4019, allocations: 412 kB / 0.615 GB, free: 2.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4021, allocations: 305.1 kB / 0.6153 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.4033, allocations: 0.7657 MB / 0.6161 GB, free: 1.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.4051, allocations: 1.545 MB / 0.6176 GB, free: 15.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01288/0.418, allocations: 4.73 MB / 0.6222 GB, free: 10.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.31e-05/0.4181, allocations: 8 kB / 0.6222 GB, free: 10.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004614/0.4227, allocations: 2.798 MB / 0.6249 GB, free: 7.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.4227, allocations: 16 kB / 0.6249 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.4228, allocations: 24 kB / 0.625 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007215/0.4235, allocations: 274.1 kB / 0.6252 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.4251, allocations: 0.4914 MB / 0.6257 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/0.4292, allocations: 3.391 MB / 0.629 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.4309, allocations: 99.86 kB / 0.6291 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.4311, allocations: 103.9 kB / 0.6292 GB, free: 2.812 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (261): * Single equations (assignments): 259 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001802/0.4329, allocations: 1.087 MB / 0.6303 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/0.4333, allocations: 238.4 kB / 0.6305 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/0.4364, allocations: 1.755 MB / 0.6322 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.4364, allocations: 16 kB / 0.6322 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4364, allocations: 4 kB / 0.6322 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.4365, allocations: 7.969 kB / 0.6322 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007578/0.444, allocations: 4.983 MB / 0.6371 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.4441, allocations: 12.22 kB / 0.6371 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.4452, allocations: 263.6 kB / 0.6374 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005892/0.4458, allocations: 215.6 kB / 0.6376 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.149e-05/0.4459, allocations: 39.98 kB / 0.6376 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.4498, allocations: 3.251 MB / 0.6408 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4498, allocations: 4 kB / 0.6408 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.4539, allocations: 2.665 MB / 0.6434 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008251/0.4547, allocations: 471.5 kB / 0.6438 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.455, allocations: 31.98 kB / 0.6439 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/0.4559, allocations: 55.91 kB / 0.6439 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.4561, allocations: 105.1 kB / 0.644 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.083e-05/0.4561, allocations: 40 kB / 0.6441 GB, free: 3.262 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002033/0.4582, allocations: 1.443 MB / 0.6455 GB, free: 1.801 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4582, allocations: 0 / 0.6455 GB, free: 1.801 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001839/0.46, allocations: 0.6289 MB / 0.6461 GB, free: 1.172 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.re,smee.stator.core.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 (125): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002822/0.4603, allocations: 165.8 kB / 0.6462 GB, free: 1.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003379/0.4637, allocations: 2.152 MB / 0.6483 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4637, allocations: 4.062 kB / 0.6483 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.4651, allocations: 0.949 MB / 0.6493 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.4672, allocations: 0.5807 MB / 0.6498 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009151/0.4764, allocations: 6.043 MB / 0.6557 GB, free: 7.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.4785, allocations: 2.363 MB / 0.658 GB, free: 4.766 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/0.479, allocations: 167.4 kB / 0.6582 GB, free: 4.602 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.479, allocations: 0 / 0.6582 GB, free: 4.602 MB / 478.1 MB Notification: Performance of Templates: time 0.221/0.7, allocations: 68.68 MB / 0.7253 GB, free: 78.06 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.805664171930403] Failed to read output from testmodel.py, exit status != 0: 0.7052709518466145 0.7135813719999999 0.39981201299999997 Calling exit ...