Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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.001945/0.001945, allocations: 103.3 kB / 16.45 MB, free: 6.445 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.49/1.49, allocations: 225.6 MB / 244.8 MB, free: 14.19 MB / 206.1 MB " [Timeout remaining time 178] 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.001499/0.001499, allocations: 201.2 kB / 299.8 MB, free: 9.824 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.04262/0.04262, allocations: 8.936 MB / 363.6 MB, free: 10.17 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 86.25 kB / 486.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09754, allocations: 54.42 MB / 0.5279 GB, free: 1.273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01976/0.1173, allocations: 15.99 MB / 0.5435 GB, free: 1.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1274, allocations: 5.317 MB / 0.5487 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.1295, allocations: 91.69 kB / 0.5488 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.1326, allocations: 1.263 MB / 0.55 GB, free: 10.51 MB / 366.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.004424/0.137, allocations: 1.563 MB / 0.5515 GB, free: 8.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.1394, allocations: 0.9955 MB / 0.5525 GB, free: 7.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005885/0.1452, allocations: 4.6 MB / 0.557 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003518/0.1488, allocations: 2.436 MB / 0.5594 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.152, allocations: 2.06 MB / 0.5614 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003888/0.1559, allocations: 2.358 MB / 0.5637 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000986/0.1569, allocations: 0.5625 MB / 0.5642 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.1586, allocations: 0.7615 MB / 0.565 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.1597, allocations: 1.266 MB / 0.5662 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002875/0.1626, allocations: 2.377 MB / 0.5685 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009259/0.1719, allocations: 7.334 MB / 0.5757 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1719, allocations: 3.938 kB / 0.5757 GB, free: 52 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1719, allocations: 0 / 0.5757 GB, free: 52 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001341/0.172, allocations: 0 / 0.5757 GB, free: 52 kB / 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.01211/0.1841, allocations: 4.926 MB / 0.5805 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1842, allocations: 15.97 kB / 0.5805 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009406/0.1851, allocations: 0.5529 MB / 0.5811 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005173/0.1903, allocations: 0.9546 MB / 0.582 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006007/0.1963, allocations: 2.758 MB / 0.5847 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.1965, allocations: 275.8 kB / 0.5849 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006088/0.1971, allocations: 371.9 kB / 0.5853 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008347/0.2055, allocations: 4.68 MB / 0.5899 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.308e-05/0.2056, allocations: 11.89 kB / 0.5899 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003429/0.2059, allocations: 152 kB / 0.59 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.2061, allocations: 155.3 kB / 0.5902 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007245/0.2133, allocations: 3.898 MB / 0.594 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0255/0.2388, allocations: 15.39 MB / 0.609 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006707/0.2455, allocations: 5.9 MB / 0.6148 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00244/0.248, allocations: 1.266 MB / 0.616 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008161/0.2561, allocations: 4.196 MB / 0.6201 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.374e-05/0.2562, allocations: 55.81 kB / 0.6202 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 4.99e-06/0.2562, allocations: 0 / 0.6202 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.01154/0.2678, allocations: 5.175 MB / 0.6252 GB, free: 11.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.2678, allocations: 72.72 kB / 0.6253 GB, free: 11.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/0.2716, allocations: 1.989 MB / 0.6272 GB, free: 9.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.2717, allocations: 49.7 kB / 0.6273 GB, free: 9.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.2733, allocations: 1.716 MB / 0.6289 GB, free: 7.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005387/0.2738, allocations: 0.4919 MB / 0.6294 GB, free: 7.195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005976/0.2744, allocations: 363.4 kB / 0.6298 GB, free: 6.836 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2746, allocations: 309.1 kB / 0.6301 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.2758, allocations: 0.6598 MB / 0.6307 GB, free: 5.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.278, allocations: 1.383 MB / 0.6321 GB, free: 4.156 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003733/0.2818, allocations: 2.191 MB / 0.6342 GB, free: 1.641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.446e-05/0.2818, allocations: 8 kB / 0.6342 GB, free: 1.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004789/0.2866, allocations: 2.491 MB / 0.6366 GB, free: 15.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.2866, allocations: 12 kB / 0.6366 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.321e-05/0.2866, allocations: 24 kB / 0.6367 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004037/0.287, allocations: 150.2 kB / 0.6368 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.2888, allocations: 455.3 kB / 0.6373 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.2914, allocations: 2.123 MB / 0.6393 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.2931, allocations: 83.89 kB / 0.6394 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.2933, allocations: 95.94 kB / 0.6395 GB, free: 12.04 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002383/0.2957, allocations: 1.067 MB / 0.6405 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006/0.2963, allocations: 230.7 kB / 0.6408 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.3003, allocations: 1.985 MB / 0.6427 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.413e-05/0.3004, allocations: 23.81 kB / 0.6427 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.3004, allocations: 8 kB / 0.6427 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.3004, allocations: 7.969 kB / 0.6427 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009981/0.3104, allocations: 4.893 MB / 0.6475 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3104, allocations: 4.031 kB / 0.6475 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/0.3113, allocations: 211.6 kB / 0.6477 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009464/0.3123, allocations: 328.6 kB / 0.648 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.3124, allocations: 35.98 kB / 0.6481 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2226/0.535, allocations: 7.077 MB / 0.655 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.535, allocations: 2.781 kB / 0.655 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004475/0.5394, allocations: 2.892 MB / 0.6578 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.5405, allocations: 446 kB / 0.6582 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/0.5409, allocations: 31.23 kB / 0.6583 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009611/0.5418, allocations: 58.94 kB / 0.6583 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.5421, allocations: 100.7 kB / 0.6584 GB, free: 103 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/0.5421, allocations: 39.17 kB / 0.6584 GB, free: 103 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.5442, allocations: 1.342 MB / 0.6598 GB, free: 102.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5442, allocations: 0 / 0.6598 GB, free: 102.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002188/0.5464, allocations: 0.6008 MB / 0.6603 GB, free: 102.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004101/0.5505, allocations: 3.502 MB / 0.6638 GB, free: 100.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.553, allocations: 1.817 MB / 0.6655 GB, free: 99.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.553, allocations: 0 / 0.6655 GB, free: 99.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.5545, allocations: 1.159 MB / 0.6667 GB, free: 99.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.5569, allocations: 0.5647 MB / 0.6672 GB, free: 98.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02707/0.584, allocations: 20.97 MB / 0.6877 GB, free: 83.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/0.586, allocations: 2.412 MB / 0.6901 GB, free: 80.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001427/0.5875, allocations: 466.7 kB / 0.6905 GB, free: 80.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.5887, allocations: 1.292 MB / 0.6918 GB, free: 79.01 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5887, allocations: 4 kB / 0.6918 GB, free: 79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.6892, allocations: 55.38 MB / 0.7458 GB, free: 24.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/16.44, allocations: 15.97 kB / 0.7459 GB, free: 24.09 MB / 462.1 MB " [Timeout remaining time 643] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.477015565615147] Failed to read output from testmodel.py, exit status != 0: 16.71786928595975 16.568004926 16.394118592 Calling exit ...