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.001393/0.001393, 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.398/1.398, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001521/0.001521, allocations: 208.4 kB / 309.2 MB, free: 3.141 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.04005/0.04005, allocations: 8.934 MB / 374.6 MB, free: 6.578 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",version="2.0",platforms={"static"}) [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.002548/0.002548, allocations: 87.88 kB / 0.4892 GB, free: 44.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07665/0.0792, allocations: 55.6 MB / 0.5435 GB, free: 4.992 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01752/0.09672, allocations: 14.44 MB / 0.5576 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.1071, allocations: 5.29 MB / 0.5628 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.1096, allocations: 119.3 kB / 0.5629 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1873/0.297, allocations: 1.208 MB / 0.5641 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004459/0.3014, allocations: 1.546 MB / 0.5656 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.3038, allocations: 1.014 MB / 0.5666 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005017/0.3088, allocations: 4.635 MB / 0.5711 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.3118, allocations: 1.907 MB / 0.5729 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003501/0.3153, allocations: 2.121 MB / 0.575 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004446/0.3198, allocations: 2.315 MB / 0.5773 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.3213, allocations: 0.5566 MB / 0.5778 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.3238, allocations: 0.7672 MB / 0.5786 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.3253, allocations: 1.249 MB / 0.5798 GB, free: 8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003784/0.3291, allocations: 1.893 MB / 0.5816 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008635/0.3377, allocations: 7.397 MB / 0.5889 GB, free: 4.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3377, allocations: 0.6562 kB / 0.5889 GB, free: 4.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3377, allocations: 7.984 kB / 0.5889 GB, free: 4.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001782/0.3379, allocations: 1.094 kB / 0.5889 GB, free: 4.133 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.01319/0.3511, allocations: 4.878 MB / 0.5936 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3511, allocations: 13.11 kB / 0.5937 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001142/0.3523, allocations: 0.5539 MB / 0.5942 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004937/0.3572, allocations: 0.94 MB / 0.5951 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006767/0.364, allocations: 2.686 MB / 0.5977 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.3643, allocations: 280.7 kB / 0.598 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008645/0.3651, allocations: 370.5 kB / 0.5984 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009764/0.3749, allocations: 4.847 MB / 0.6031 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.853e-05/0.375, allocations: 3 kB / 0.6031 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003965/0.3754, allocations: 146.8 kB / 0.6032 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.3755, allocations: 155.6 kB / 0.6034 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007272/0.3828, allocations: 3.904 MB / 0.6072 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02787/0.4107, allocations: 13.79 MB / 0.6207 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005353/0.416, allocations: 2.523 MB / 0.6231 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/0.4191, allocations: 1.351 MB / 0.6244 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008673/0.4277, allocations: 3.339 MB / 0.6277 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/0.4278, allocations: 51.5 kB / 0.6277 GB, free: 4.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=125): time 3.336e-06/0.4278, allocations: 0 / 0.6277 GB, free: 4.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01389/0.4417, allocations: 5.971 MB / 0.6336 GB, free: 14.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.4417, allocations: 68.72 kB / 0.6336 GB, free: 14.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/0.4455, allocations: 2.129 MB / 0.6357 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.4456, allocations: 53.69 kB / 0.6358 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.4471, allocations: 1.758 MB / 0.6375 GB, free: 10.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005274/0.4476, allocations: 0.5586 MB / 0.638 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006842/0.4483, allocations: 412 kB / 0.6384 GB, free: 9.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4485, allocations: 301.1 kB / 0.6387 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.4498, allocations: 0.7774 MB / 0.6395 GB, free: 8.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.4518, allocations: 1.574 MB / 0.641 GB, free: 6.496 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/0.4662, allocations: 4.842 MB / 0.6457 GB, free: 1.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.4663, allocations: 8 kB / 0.6458 GB, free: 1.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005111/0.4714, allocations: 2.873 MB / 0.6486 GB, free: 14.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.4714, allocations: 16.66 kB / 0.6486 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/0.4714, allocations: 31.94 kB / 0.6486 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009183/0.4724, allocations: 364.5 kB / 0.649 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.474, allocations: 483.2 kB / 0.6494 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.4795, allocations: 3.917 MB / 0.6532 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.4814, allocations: 99.81 kB / 0.6533 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.4816, allocations: 104 kB / 0.6534 GB, free: 9.332 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[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.002053/0.4837, allocations: 1.088 MB / 0.6545 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/0.4841, allocations: 238.5 kB / 0.6547 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/0.4877, allocations: 1.962 MB / 0.6566 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.4877, allocations: 16 kB / 0.6567 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.4877, allocations: 7.938 kB / 0.6567 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4878, allocations: 11.97 kB / 0.6567 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009104/0.4969, allocations: 5.038 MB / 0.6616 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4969, allocations: 0 / 0.6616 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.498, allocations: 276 kB / 0.6619 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007601/0.4987, allocations: 285.1 kB / 0.6621 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-05/0.4988, allocations: 39.97 kB / 0.6622 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/0.5038, allocations: 3.686 MB / 0.6658 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.5038, allocations: 7.938 kB / 0.6658 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004797/0.5086, allocations: 2.93 MB / 0.6686 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.5098, allocations: 406.4 kB / 0.669 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/0.5101, allocations: 32 kB / 0.6691 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009618/0.5111, allocations: 51.97 kB / 0.6691 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.5113, allocations: 125 kB / 0.6692 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/0.5114, allocations: 47.92 kB / 0.6693 GB, free: 8.848 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002279/0.5137, allocations: 1.403 MB / 0.6706 GB, free: 7.426 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5137, allocations: 0 / 0.6706 GB, free: 7.426 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00225/0.516, allocations: 0.6406 MB / 0.6713 GB, free: 6.785 MB / 462.1 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.005261/0.5212, allocations: 3.558 MB / 0.6747 GB, free: 3.168 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003861/0.5251, allocations: 2.12 MB / 0.6768 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5251, allocations: 448 / 0.6768 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.5269, allocations: 1.024 MB / 0.6778 GB, free: 4 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/0.5296, allocations: 0.5933 MB / 0.6784 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/0.5651, allocations: 22.14 MB / 0.7 GB, free: 8.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/0.5673, allocations: 1.897 MB / 0.7019 GB, free: 6.336 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001659/0.569, allocations: 0.4962 MB / 0.7023 GB, free: 5.836 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/0.5708, allocations: 1.335 MB / 0.7037 GB, free: 4.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.011e-06/0.5708, allocations: 4 kB / 0.7037 GB, free: 4.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/0.6896, allocations: 59.94 MB / 0.7622 GB, free: 9.094 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.96, allocations: 3.609 kB / 0.7622 GB, free: 9.094 MB / 0.545 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.21090259309858] Failed to read output from testmodel.py, exit status != 0: 14.102333480957896 14.299806948 13.959279988 Calling exit ...