Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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.0008304/0.0008304, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.8339/0.8339, allocations: 177.1 MB / 200.2 MB, free: 5.953 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.001045/0.001045, allocations: 156.6 kB / 256.7 MB, free: 13.36 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.02172/0.02172, allocations: 6.665 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_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 446.7 MB, free: 37.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.69e-05, allocations: 2.281 kB / 446.7 MB, free: 37.05 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.007773/0.00779, allocations: 14.47 MB / 461.2 MB, free: 22.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00542/0.01321, allocations: 5.294 MB / 466.5 MB, free: 17.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007732/0.01398, allocations: 115.4 kB / 466.6 MB, free: 17.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.01549, allocations: 1.219 MB / 467.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.01714, allocations: 1.603 MB / 469.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000893/0.01804, allocations: 1.021 MB / 470.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.02001, allocations: 4.864 MB / 475.3 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.02135, allocations: 1.913 MB / 477.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.02308, allocations: 3.111 MB / 480.3 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.02431, allocations: 1.948 MB / 482.3 MB, free: 1.301 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000383/0.02469, allocations: 0.5586 MB / 482.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006196/0.02531, allocations: 0.7769 MB / 483.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006178/0.02593, allocations: 1.27 MB / 484.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.02723, allocations: 1.621 MB / 486.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004328/0.03156, allocations: 7.417 MB / 493.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.03156, allocations: 0 / 493.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.03156, allocations: 0 / 493.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.474e-05/0.03164, allocations: 0 / 493.9 MB, free: 5.629 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.006269/0.03791, allocations: 4.839 MB / 498.8 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.03794, allocations: 8.031 kB / 498.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.04037, allocations: 0.9351 MB / 499.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.04335, allocations: 2.686 MB / 0.4906 GB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.04348, allocations: 271.8 kB / 0.4909 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/0.04383, allocations: 372.3 kB / 0.4912 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004831/0.04866, allocations: 4.839 MB / 0.496 GB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-05/0.04872, allocations: 11.88 kB / 0.496 GB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.04895, allocations: 152 kB / 0.4961 GB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.372e-05/0.04905, allocations: 151.3 kB / 0.4963 GB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004191/0.05324, allocations: 3.901 MB / 0.5001 GB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.0652, allocations: 13.25 MB / 0.513 GB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.06797, allocations: 2.526 MB / 0.5155 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.06944, allocations: 1.355 MB / 0.5168 GB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003609/0.07305, allocations: 3.295 MB / 0.52 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.07308, allocations: 51.5 kB / 0.5201 GB, free: 14.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=125): time 2.284e-06/0.07308, allocations: 3.938 kB / 0.5201 GB, free: 14.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=156): time 0.00725/0.08033, allocations: 5.924 MB / 0.5259 GB, free: 8.477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.08036, allocations: 68.72 kB / 0.5259 GB, free: 8.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.08204, allocations: 1.858 MB / 0.5277 GB, free: 6.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.08211, allocations: 53.7 kB / 0.5278 GB, free: 6.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006987/0.08281, allocations: 1.769 MB / 0.5295 GB, free: 4.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.08307, allocations: 0.55 MB / 0.5301 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/0.08343, allocations: 408 kB / 0.5304 GB, free: 3.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.982e-05/0.08349, allocations: 301.1 kB / 0.5307 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007928/0.08428, allocations: 0.7813 MB / 0.5315 GB, free: 2.598 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.08538, allocations: 1.569 MB / 0.533 GB, free: 0.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007476/0.09286, allocations: 4.852 MB / 0.5378 GB, free: 11.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.09286, allocations: 12 kB / 0.5378 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002788/0.09565, allocations: 2.849 MB / 0.5406 GB, free: 8.602 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.09567, allocations: 16 kB / 0.5406 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.09569, allocations: 24 kB / 0.5406 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005287/0.09622, allocations: 368 kB / 0.5409 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.09727, allocations: 487.2 kB / 0.5414 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/0.1003, allocations: 3.892 MB / 0.5452 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.101, allocations: 95.88 kB / 0.5453 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/0.1011, allocations: 99.98 kB / 0.5454 GB, free: 3.543 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[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (256): * Single equations (assignments): 254 * 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 {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001115/0.1022, allocations: 1.09 MB / 0.5465 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.1024, allocations: 222.6 kB / 0.5467 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.1047, allocations: 1.957 MB / 0.5486 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1047, allocations: 16 kB / 0.5486 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1047, allocations: 4 kB / 0.5486 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.1047, allocations: 7.969 kB / 0.5486 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004568/0.1093, allocations: 4.555 MB / 0.5531 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1093, allocations: 4 kB / 0.5531 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.1099, allocations: 267.6 kB / 0.5533 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/0.1103, allocations: 280.9 kB / 0.5536 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/0.1103, allocations: 39.98 kB / 0.5536 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002984/0.1133, allocations: 3.653 MB / 0.5572 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1133, allocations: 4 kB / 0.5572 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.116, allocations: 2.91 MB / 0.56 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/0.1165, allocations: 390.5 kB / 0.5604 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.1166, allocations: 28 kB / 0.5604 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.1171, allocations: 59.95 kB / 0.5605 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.1172, allocations: 117 kB / 0.5606 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/0.1172, allocations: 43.94 kB / 0.5606 GB, free: 3.641 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.1183, allocations: 1.206 MB / 0.5618 GB, free: 2.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1183, allocations: 0 / 0.5618 GB, free: 2.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001401/0.1197, allocations: 0.6445 MB / 0.5625 GB, free: 1.766 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],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 (132): * Single equations (assignments): 131 * 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 {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002263/0.1199, allocations: 159 kB / 0.5626 GB, free: 1.602 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1294/0.2493, allocations: 2.119 MB / 0.5647 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.2493, allocations: 0 / 0.5647 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.2507, allocations: 1.02 MB / 0.5657 GB, free: 120.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.2522, allocations: 0.4889 MB / 0.5662 GB, free: 120.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006007/0.2583, allocations: 6.031 MB / 0.572 GB, free: 118 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009724/0.2592, allocations: 1.838 MB / 0.5738 GB, free: 117.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.2595, allocations: 165.9 kB / 0.574 GB, free: 117.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2595, allocations: 0 / 0.574 GB, free: 117.5 MB / 426.7 MB Notification: Performance of Templates: time 0.03336/0.2929, allocations: 69.42 MB / 0.6418 GB, free: 49.46 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.20324302278459] Failed to read output from testmodel.py, exit status != 0: 0.29754811711609364 0.30346232100000003 0.270650345 Calling exit ...