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.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.0008769/0.0008769, allocations: 76.52 kB / 19.93 MB, free: 4.605 MB / 18.57 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 0.8387/0.8387, allocations: 177.2 MB / 200.2 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001071/0.001071, allocations: 155.3 kB / 256.7 MB, free: 13.34 MB / 250.7 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.02149/0.02149, allocations: 6.661 MB / 319.8 MB, free: 26.77 MB / 266.7 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_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 1.422e-06/1.422e-06, allocations: 0 / 446.7 MB, free: 37.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.179e-05, allocations: 2.281 kB / 446.7 MB, free: 37.05 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.00813/0.008151, allocations: 14.46 MB / 461.2 MB, free: 22.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006146/0.0143, allocations: 5.29 MB / 466.5 MB, free: 17.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.01536, allocations: 123.3 kB / 466.6 MB, free: 17.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.01694, allocations: 1.219 MB / 467.8 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.01871, allocations: 1.607 MB / 469.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009584/0.01967, allocations: 1.013 MB / 470.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.02156, allocations: 4.859 MB / 475.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.02286, allocations: 1.924 MB / 477.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.02447, allocations: 3.111 MB / 480.3 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.02564, allocations: 1.94 MB / 482.3 MB, free: 1.309 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.02595, allocations: 0.5547 MB / 482.8 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000669/0.02662, allocations: 0.773 MB / 483.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006198/0.02724, allocations: 1.273 MB / 484.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.02834, allocations: 1.622 MB / 486.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004372/0.03271, allocations: 7.416 MB / 493.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.03271, allocations: 0 / 493.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.03271, allocations: 0 / 493.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.324e-05/0.03278, allocations: 4 kB / 493.9 MB, free: 5.637 MB / 346.7 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.006171/0.03895, allocations: 4.835 MB / 498.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.03898, allocations: 8.031 kB / 498.8 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/0.04138, allocations: 0.9507 MB / 499.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003204/0.04459, allocations: 2.67 MB / 0.4906 GB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.04473, allocations: 283.8 kB / 0.4909 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/0.04506, allocations: 364.3 kB / 0.4912 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00507/0.05013, allocations: 4.826 MB / 0.4959 GB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-05/0.05019, allocations: 15.83 kB / 0.496 GB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.05042, allocations: 148 kB / 0.4961 GB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.565e-05/0.05052, allocations: 155.3 kB / 0.4962 GB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/0.05467, allocations: 3.898 MB / 0.5001 GB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.06774, allocations: 13.08 MB / 0.5128 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.07037, allocations: 2.416 MB / 0.5152 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.07193, allocations: 1.199 MB / 0.5164 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003744/0.07567, allocations: 3.143 MB / 0.5194 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.0757, allocations: 43.56 kB / 0.5195 GB, free: 15.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 2.765e-06/0.0757, allocations: 0 / 0.5195 GB, free: 15.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.006804/0.08251, allocations: 5.16 MB / 0.5245 GB, free: 9.879 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.08254, allocations: 68.72 kB / 0.5246 GB, free: 9.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.08427, allocations: 1.935 MB / 0.5265 GB, free: 7.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.08433, allocations: 49.7 kB / 0.5265 GB, free: 7.762 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007552/0.08508, allocations: 1.808 MB / 0.5283 GB, free: 5.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.08534, allocations: 0.5152 MB / 0.5288 GB, free: 5.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/0.08573, allocations: 408 kB / 0.5292 GB, free: 5.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.08579, allocations: 305.1 kB / 0.5295 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008072/0.0866, allocations: 0.7657 MB / 0.5302 GB, free: 3.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.08802, allocations: 1.566 MB / 0.5317 GB, free: 2.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007604/0.09562, allocations: 4.791 MB / 0.5364 GB, free: 12.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.09564, allocations: 8 kB / 0.5364 GB, free: 12.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003282/0.09892, allocations: 2.771 MB / 0.5391 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.09895, allocations: 18.97 kB / 0.5391 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.09897, allocations: 31.94 kB / 0.5392 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.09943, allocations: 277.1 kB / 0.5394 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/0.1003, allocations: 0.4914 MB / 0.5399 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.1031, allocations: 3.196 MB / 0.543 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.104, allocations: 103.8 kB / 0.5431 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.1041, allocations: 104 kB / 0.5432 GB, free: 5.766 MB / 410.7 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.00175/0.1059, allocations: 1.09 MB / 0.5443 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.106, allocations: 214.6 kB / 0.5445 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.108, allocations: 1.745 MB / 0.5462 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.108, allocations: 16 kB / 0.5462 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.108, allocations: 3.938 kB / 0.5462 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.108, allocations: 11.97 kB / 0.5462 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004285/0.1123, allocations: 4.129 MB / 0.5503 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1123, allocations: 11.92 kB / 0.5503 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.1128, allocations: 260 kB / 0.5505 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003348/0.1132, allocations: 212.6 kB / 0.5507 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/0.1132, allocations: 39.98 kB / 0.5508 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.1157, allocations: 3.08 MB / 0.5538 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1157, allocations: 7.938 kB / 0.5538 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.1182, allocations: 2.631 MB / 0.5564 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.1186, allocations: 358.5 kB / 0.5567 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.1188, allocations: 36 kB / 0.5567 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.1192, allocations: 51.95 kB / 0.5568 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.1193, allocations: 101.1 kB / 0.5569 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.1194, allocations: 51.92 kB / 0.5569 GB, free: 7.477 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001391/0.1208, allocations: 1.258 MB / 0.5582 GB, free: 6.195 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1208, allocations: 0 / 0.5582 GB, free: 6.195 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001285/0.1221, allocations: 0.6288 MB / 0.5588 GB, free: 5.566 MB / 426.7 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.0002528/0.1223, allocations: 167 kB / 0.5589 GB, free: 5.395 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.1244, allocations: 1.981 MB / 0.5609 GB, free: 3.398 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1244, allocations: 0 / 0.5609 GB, free: 3.398 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000844/0.1252, allocations: 0.9007 MB / 0.5617 GB, free: 2.488 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.1264, allocations: 487.6 kB / 0.5622 GB, free: 2.012 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1291/0.2555, allocations: 5.882 MB / 0.568 GB, free: 118.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.2567, allocations: 1.829 MB / 0.5697 GB, free: 118.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.2572, allocations: 166.8 kB / 0.5699 GB, free: 118.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2572, allocations: 0 / 0.5699 GB, free: 118.4 MB / 426.7 MB Notification: Performance of Templates: time 0.03481/0.292, allocations: 69.09 MB / 0.6374 GB, free: 53.76 MB / 426.7 MB " [Timeout remaining time 660] 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: 7.459227499552071] Failed to read output from testmodel.py, exit status != 0: 0.2971790712326765 0.30308786600000004 0.269061789 Calling exit ...