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.0008272/0.0008272, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.9048/0.9048, allocations: 177.1 MB / 199.4 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.001041/0.001041, allocations: 164 kB / 256 MB, free: 13.33 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.02205/0.02205, allocations: 6.671 MB / 319 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 445.5 MB, free: 37.56 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.095e-05, allocations: 5.234 kB / 445.5 MB, free: 37.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.008631/0.008642, allocations: 14.46 MB / 459.9 MB, free: 23.03 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.0134, allocations: 5.286 MB / 465.2 MB, free: 17.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007052/0.01411, allocations: 119.4 kB / 465.3 MB, free: 17.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.01548, allocations: 1.231 MB / 466.6 MB, free: 16.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.01696, allocations: 1.599 MB / 468.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.01779, allocations: 1.015 MB / 469.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.01952, allocations: 4.867 MB / 474.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.02075, allocations: 1.92 MB / 476 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.02219, allocations: 3.111 MB / 479.1 MB, free: 3.754 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.02323, allocations: 1.933 MB / 481 MB, free: 1.816 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.02353, allocations: 0.5586 MB / 481.6 MB, free: 1.258 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/0.02408, allocations: 0.7769 MB / 482.4 MB, free: 492 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005523/0.02463, allocations: 1.277 MB / 483.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000978/0.02561, allocations: 1.625 MB / 485.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003969/0.02958, allocations: 7.405 MB / 492.7 MB, free: 6.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.02958, allocations: 0 / 492.7 MB, free: 6.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.02958, allocations: 3.938 kB / 492.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.792e-05/0.02962, allocations: 0 / 492.7 MB, free: 6.141 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.005542/0.03516, allocations: 4.839 MB / 497.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.0352, allocations: 8.031 kB / 497.5 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005723/0.03578, allocations: 0.5529 MB / 498.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.03818, allocations: 0.9429 MB / 499 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.04112, allocations: 2.682 MB / 0.4899 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.04125, allocations: 275.8 kB / 0.4902 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/0.04158, allocations: 368.3 kB / 0.4905 GB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004679/0.04626, allocations: 4.833 MB / 0.4953 GB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.141e-05/0.04631, allocations: 0 / 0.4953 GB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.04654, allocations: 156 kB / 0.4954 GB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.46e-05/0.04663, allocations: 155.3 kB / 0.4956 GB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004069/0.0507, allocations: 3.894 MB / 0.4994 GB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0163/0.067, allocations: 13.65 MB / 0.5127 GB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.0699, allocations: 2.42 MB / 0.5151 GB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.07129, allocations: 1.191 MB / 0.5162 GB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004667/0.07596, allocations: 3.199 MB / 0.5193 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.07599, allocations: 51.48 kB / 0.5194 GB, free: 14.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 3.476e-06/0.076, allocations: 0 / 0.5194 GB, free: 14.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.007618/0.08361, allocations: 5.172 MB / 0.5244 GB, free: 9.168 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.08366, allocations: 64.72 kB / 0.5245 GB, free: 9.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.08609, allocations: 2.208 MB / 0.5267 GB, free: 6.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.08622, allocations: 53.7 kB / 0.5267 GB, free: 6.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000875/0.08709, allocations: 1.79 MB / 0.5285 GB, free: 4.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.08743, allocations: 0.5113 MB / 0.529 GB, free: 4.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004218/0.08785, allocations: 412 kB / 0.5293 GB, free: 4.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.08794, allocations: 309.1 kB / 0.5296 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009061/0.08885, allocations: 0.7618 MB / 0.5304 GB, free: 2.984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.09009, allocations: 1.57 MB / 0.5319 GB, free: 1.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008352/0.09844, allocations: 4.783 MB / 0.5366 GB, free: 11.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.09846, allocations: 8 kB / 0.5366 GB, free: 11.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003299/0.1018, allocations: 2.798 MB / 0.5393 GB, free: 9.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.1018, allocations: 16 kB / 0.5393 GB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.1018, allocations: 24 kB / 0.5394 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/0.1023, allocations: 281.1 kB / 0.5396 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009425/0.1032, allocations: 0.4913 MB / 0.5401 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.1063, allocations: 3.234 MB / 0.5433 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.1075, allocations: 103.9 kB / 0.5434 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.1076, allocations: 104 kB / 0.5435 GB, free: 4.746 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.001498/0.1091, allocations: 1.087 MB / 0.5445 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.1094, allocations: 242.4 kB / 0.5448 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.1115, allocations: 1.762 MB / 0.5465 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1115, allocations: 12 kB / 0.5465 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1115, allocations: 4 kB / 0.5465 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1115, allocations: 3.984 kB / 0.5465 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005655/0.1172, allocations: 4.643 MB / 0.551 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.1172, allocations: 4 kB / 0.551 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/0.1178, allocations: 259.9 kB / 0.5513 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/0.1182, allocations: 208.7 kB / 0.5515 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/0.1183, allocations: 35.98 kB / 0.5515 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.1208, allocations: 3.116 MB / 0.5546 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1208, allocations: 0 / 0.5546 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/0.1241, allocations: 2.661 MB / 0.5572 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/0.1249, allocations: 390.4 kB / 0.5575 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.1251, allocations: 32 kB / 0.5576 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.1256, allocations: 52.09 kB / 0.5576 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.1258, allocations: 113 kB / 0.5577 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.1259, allocations: 51.98 kB / 0.5578 GB, free: 5.805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001674/0.1275, allocations: 1.448 MB / 0.5592 GB, free: 4.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1275, allocations: 0 / 0.5592 GB, free: 4.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001609/0.1291, allocations: 0.6328 MB / 0.5598 GB, free: 3.703 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.003129/0.1323, allocations: 3.27 MB / 0.563 GB, free: 380 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1357/0.2679, allocations: 1.983 MB / 0.5649 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.2679, allocations: 1.844 kB / 0.5649 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.2691, allocations: 0.8952 MB / 0.5658 GB, free: 124.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.2711, allocations: 0.579 MB / 0.5664 GB, free: 124.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/0.2959, allocations: 21.79 MB / 0.5877 GB, free: 107.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.2971, allocations: 1.877 MB / 0.5895 GB, free: 105.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001157/0.2982, allocations: 0.5001 MB / 0.59 GB, free: 104.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009369/0.2992, allocations: 1.348 MB / 0.5913 GB, free: 103.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.204e-06/0.2992, allocations: 0 / 0.5913 GB, free: 103.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06199/0.3612, allocations: 58.58 MB / 0.6485 GB, free: 45.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.791/9.153, allocations: 0 / 0.6485 GB, free: 45.31 MB / 426.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.286877792328596] Failed to read output from testmodel.py, exit status != 0: 9.26353255379945 9.270458029 9.239541918 Calling exit ...