Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.001423/0.001423, allocations: 78.38 kB / 19.01 MB, free: 2.688 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.49/1.49, allocations: 177.2 MB / 199.3 MB, free: 9.484 MB / 190.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.001845/0.001845, allocations: 161.4 kB / 255.8 MB, free: 0.9258 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.03763/0.03763, allocations: 6.668 MB / 318.9 MB, free: 48.5 MB / 286.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: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [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.003037/0.003037, allocations: 83.88 kB / 445.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2949, allocations: 55.58 MB / 0.4895 GB, free: 26.12 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.01884/0.3137, allocations: 21.99 MB / 0.511 GB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.3309, allocations: 7.703 MB / 0.5185 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005533/0.3364, allocations: 207 kB / 0.5187 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01934/0.3558, allocations: 7.529 MB / 0.5261 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.3665, allocations: 3.103 MB / 0.5291 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006521/0.373, allocations: 2.013 MB / 0.5311 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01656/0.3896, allocations: 9.401 MB / 0.5403 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02256/0.4121, allocations: 11.19 MB / 0.5512 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0131/0.4252, allocations: 7.341 MB / 0.5584 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009049/0.4343, allocations: 5.045 MB / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002974/0.4373, allocations: 1.352 MB / 0.5646 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004305/0.4416, allocations: 1.722 MB / 0.5663 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003612/0.4452, allocations: 2.681 MB / 0.5689 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007948/0.4531, allocations: 3.961 MB / 0.5728 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02666/0.4798, allocations: 18.28 MB / 0.5906 GB, free: 2.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.4798, allocations: 0 / 0.5906 GB, free: 2.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.21e-06/0.4798, allocations: 4 kB / 0.5906 GB, free: 2.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007256/0.4805, allocations: 0 / 0.5906 GB, free: 2.164 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03508/0.5156, allocations: 10.89 MB / 0.6013 GB, free: 7.188 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.5156, allocations: 8.031 kB / 0.6013 GB, free: 7.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03298/0.5486, allocations: 5.672 MB / 0.6068 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4593/1.008, allocations: 5.83 MB / 0.6125 GB, free: 92.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007552/1.009, allocations: 0.5826 MB / 0.6131 GB, free: 92.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004115/1.013, allocations: 0.7619 MB / 0.6138 GB, free: 92.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0333/1.046, allocations: 12.97 MB / 0.6265 GB, free: 86.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003028/1.046, allocations: 17 kB / 0.6265 GB, free: 86.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002721/1.049, allocations: 322.8 kB / 0.6268 GB, free: 85.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004399/1.05, allocations: 0.4928 MB / 0.6273 GB, free: 85.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/1.073, allocations: 12.24 MB / 0.6392 GB, free: 73.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06073/1.134, allocations: 36.69 MB / 0.6751 GB, free: 36.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01544/1.15, allocations: 8.925 MB / 0.6838 GB, free: 28.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004177/1.154, allocations: 2.71 MB / 0.6864 GB, free: 25.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004137/1.154, allocations: 103 kB / 0.6865 GB, free: 25.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003599/1.158, allocations: 2.791 MB / 0.6893 GB, free: 22.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=391): time 8.226e-06/1.158, allocations: 0 / 0.6893 GB, free: 22.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=397): time 0.03593/1.194, allocations: 18.32 MB / 0.7072 GB, free: 4.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/1.194, allocations: 355.5 kB / 0.7075 GB, free: 4.328 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004451/1.198, allocations: 3.365 MB / 0.7108 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006227/1.199, allocations: 89.7 kB / 0.7109 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002637/1.201, allocations: 3.496 MB / 0.7143 GB, free: 13.35 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001963/1.203, allocations: 1.431 MB / 0.7157 GB, free: 11.94 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002044/1.205, allocations: 1.097 MB / 0.7167 GB, free: 10.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/1.206, allocations: 309.1 kB / 0.717 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004335/1.21, allocations: 2.578 MB / 0.7196 GB, free: 7.941 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006794/1.217, allocations: 4.721 MB / 0.7242 GB, free: 2.289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/1.228, allocations: 7.467 MB / 0.7315 GB, free: 9.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.823e-05/1.229, allocations: 20 kB / 0.7315 GB, free: 9.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01612/1.245, allocations: 8.299 MB / 0.7396 GB, free: 1.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/1.245, allocations: 57.7 kB / 0.7396 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/1.245, allocations: 60 kB / 0.7397 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003111/1.248, allocations: 0.9929 MB / 0.7407 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004936/1.253, allocations: 1.264 MB / 0.7419 GB, free: 15.22 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/1.269, allocations: 8.52 MB / 0.7502 GB, free: 6.598 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005448/1.275, allocations: 355.5 kB / 0.7506 GB, free: 6.25 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.276, allocations: 275.9 kB / 0.7508 GB, free: 5.98 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006136/1.282, allocations: 2.898 MB / 0.7537 GB, free: 3.062 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.283, allocations: 389.6 kB / 0.754 GB, free: 2.68 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.296, allocations: 6.161 MB / 0.76 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.242e-05/1.296, allocations: 40 kB / 0.7601 GB, free: 12.42 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.168e-05/1.296, allocations: 16 kB / 0.7601 GB, free: 12.41 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-05/1.297, allocations: 20.11 kB / 0.7601 GB, free: 12.39 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03076/1.327, allocations: 12.76 MB / 0.7726 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/1.327, allocations: 11.88 kB / 0.7726 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/1.331, allocations: 0.6865 MB / 0.7732 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002911/1.334, allocations: 0.8718 MB / 0.7741 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007377/1.334, allocations: 87.97 kB / 0.7742 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/1.348, allocations: 7.471 MB / 0.7815 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.348, allocations: 8.031 kB / 0.7815 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/1.367, allocations: 8.819 MB / 0.7901 GB, free: 13.36 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002878/1.37, allocations: 0.8254 MB / 0.7909 GB, free: 12.54 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/1.371, allocations: 79.94 kB / 0.791 GB, free: 12.46 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/1.374, allocations: 191.8 kB / 0.7912 GB, free: 12.27 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008368/1.375, allocations: 295 kB / 0.7914 GB, free: 11.98 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004049/1.375, allocations: 112 kB / 0.7916 GB, free: 11.87 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.004895/1.38, allocations: 2.173 MB / 0.7937 GB, free: 9.699 MB / 0.5451 GB Notification: Performance of sort global known variables: time 2e-07/1.38, allocations: 0 / 0.7937 GB, free: 9.699 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.006781/1.387, allocations: 1.449 MB / 0.7951 GB, free: 8.25 MB / 0.5451 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/1.388, allocations: 254.2 kB / 0.7953 GB, free: 8 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01335/1.401, allocations: 6.285 MB / 0.8015 GB, free: 1.68 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/1.401, allocations: 0 / 0.8015 GB, free: 1.68 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.006714/1.408, allocations: 2.915 MB / 0.8043 GB, free: 14.73 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005567/1.413, allocations: 0.712 MB / 0.805 GB, free: 14.04 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03365/1.447, allocations: 13.98 MB / 0.8187 GB, free: 15.94 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009628/1.457, allocations: 4.534 MB / 0.8231 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005642/1.462, allocations: 1.561 MB / 0.8246 GB, free: 9.785 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/1.464, allocations: 344.4 kB / 0.8249 GB, free: 9.449 MB / 0.5763 GB Notification: Performance of SimCode: time 1.383e-06/1.464, allocations: 0 / 0.8249 GB, free: 9.449 MB / 0.5763 GB Notification: Performance of Templates: time 0.2981/1.762, allocations: 54.2 MB / 0.8779 GB, free: 175.4 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.197200581431389] Failed to read output from testmodel.py, exit status != 0: 1.7726237270981073 1.780270642 1.297984545 Calling exit ...