Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.001734/0.001734, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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 1.547/1.547, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 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.002208/0.002208, allocations: 160.6 kB / 256.3 MB, free: 13.16 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.04141/0.04141, allocations: 6.659 MB / 319.4 MB, free: 26.57 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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 391 MB, free: 2.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.499e-05, allocations: 6.25 kB / 391 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.1978/0.1978, allocations: 24.57 MB / 415.5 MB, free: 69.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.2131, allocations: 7.935 MB / 423.5 MB, free: 67.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005524/0.2187, allocations: 200.4 kB / 423.7 MB, free: 67.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01768/0.2363, allocations: 8.079 MB / 431.8 MB, free: 63.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01228/0.2486, allocations: 3.192 MB / 434.9 MB, free: 60.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006321/0.2549, allocations: 2.041 MB / 437 MB, free: 59.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.2655, allocations: 9.703 MB / 446.7 MB, free: 51.74 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01421/0.2797, allocations: 11.23 MB / 457.9 MB, free: 40.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.2903, allocations: 7.2 MB / 465.1 MB, free: 33.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007081/0.2974, allocations: 4.967 MB / 470.1 MB, free: 28.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002895/0.3003, allocations: 1.355 MB / 471.4 MB, free: 26.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004987/0.3053, allocations: 1.741 MB / 473.2 MB, free: 25.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003127/0.3084, allocations: 2.77 MB / 476 MB, free: 22.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00652/0.3149, allocations: 3.454 MB / 479.4 MB, free: 18.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.3316, allocations: 18.59 MB / 498 MB, free: 232 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3316, allocations: 4 kB / 498 MB, free: 228 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3316, allocations: 0 / 498 MB, free: 228 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004885/0.3321, allocations: 0 / 498 MB, free: 228 kB / 330.7 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.03911/0.3712, allocations: 12.46 MB / 0.4985 GB, free: 3.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3712, allocations: 8.031 kB / 0.4985 GB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03793/0.4092, allocations: 7.046 MB / 0.5054 GB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/0.4253, allocations: 5.663 MB / 0.5109 GB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008707/0.4262, allocations: 0.578 MB / 0.5115 GB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003862/0.43, allocations: 0.7655 MB / 0.5122 GB, free: 5.527 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04065/0.4707, allocations: 13.12 MB / 0.525 GB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004871/0.4712, allocations: 19.89 kB / 0.5251 GB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003225/0.4744, allocations: 320 kB / 0.5254 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000765/0.4752, allocations: 0.4928 MB / 0.5258 GB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0296/0.5047, allocations: 10.87 MB / 0.5365 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3719/0.8766, allocations: 80.1 MB / 0.6147 GB, free: 62.38 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/0.8925, allocations: 8.428 MB / 0.6229 GB, free: 55.31 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003741/0.8962, allocations: 2.338 MB / 0.6252 GB, free: 52.98 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/0.8966, allocations: 127 kB / 0.6253 GB, free: 52.85 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003206/0.8998, allocations: 2.712 MB / 0.628 GB, free: 50 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 7.704e-06/0.8998, allocations: 3.938 kB / 0.628 GB, free: 50 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.03345/0.9333, allocations: 16.57 MB / 0.6441 GB, free: 33.65 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.9334, allocations: 359.4 kB / 0.6445 GB, free: 33.23 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006005/0.9394, allocations: 4.69 MB / 0.6491 GB, free: 28.6 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008231/0.9402, allocations: 89.7 kB / 0.6492 GB, free: 28.5 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.9424, allocations: 3.92 MB / 0.653 GB, free: 25 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001657/0.9441, allocations: 1.557 MB / 0.6545 GB, free: 23.46 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002055/0.9461, allocations: 1.47 MB / 0.6559 GB, free: 21.98 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.9462, allocations: 476.8 kB / 0.6564 GB, free: 21.51 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002768/0.949, allocations: 2.078 MB / 0.6584 GB, free: 19.42 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004054/0.953, allocations: 5.369 MB / 0.6637 GB, free: 12.8 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/0.961, allocations: 8.038 MB / 0.6715 GB, free: 3.574 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.055e-05/0.9611, allocations: 20 kB / 0.6715 GB, free: 3.555 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01497/0.976, allocations: 7.619 MB / 0.679 GB, free: 11.9 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.9761, allocations: 59.42 kB / 0.679 GB, free: 11.84 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/0.9763, allocations: 60 kB / 0.6791 GB, free: 11.78 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004051/0.9803, allocations: 1.174 MB / 0.6802 GB, free: 10.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005867/0.9862, allocations: 1.275 MB / 0.6815 GB, free: 9.328 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/1.003, allocations: 9.249 MB / 0.6905 GB, free: 15.95 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005267/1.008, allocations: 351.4 kB / 0.6909 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/1.009, allocations: 268 kB / 0.6911 GB, free: 15.35 MB / 426.8 MB 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.006781/1.016, allocations: 2.655 MB / 0.6937 GB, free: 12.67 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001524/1.018, allocations: 0.5054 MB / 0.6942 GB, free: 12.16 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.03, allocations: 5.523 MB / 0.6996 GB, free: 6.578 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.196e-05/1.03, allocations: 44 kB / 0.6996 GB, free: 6.535 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/1.03, allocations: 15.94 kB / 0.6996 GB, free: 6.52 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-05/1.03, allocations: 23.86 kB / 0.6997 GB, free: 6.496 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1839/1.214, allocations: 15.72 MB / 0.715 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/1.214, allocations: 5.125 kB / 0.715 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002929/1.217, allocations: 0.687 MB / 0.7157 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003983/1.221, allocations: 1.031 MB / 0.7167 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006503/1.222, allocations: 90.09 kB / 0.7168 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/1.232, allocations: 8.181 MB / 0.7248 GB, free: 125.2 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.232, allocations: 7.969 kB / 0.7248 GB, free: 125.2 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/1.244, allocations: 7.467 MB / 0.7321 GB, free: 122.2 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.246, allocations: 0.7686 MB / 0.7328 GB, free: 122 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006523/1.247, allocations: 82 kB / 0.7329 GB, free: 121.9 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/1.248, allocations: 186.2 kB / 0.7331 GB, free: 121.9 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005685/1.249, allocations: 298 kB / 0.7334 GB, free: 121.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002122/1.249, allocations: 112.6 kB / 0.7335 GB, free: 121.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003042/1.252, allocations: 2.42 MB / 0.7358 GB, free: 120.8 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/1.252, allocations: 0 / 0.7358 GB, free: 120.8 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004951/1.257, allocations: 1.453 MB / 0.7373 GB, free: 120.7 MB / 426.8 MB 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.0006316/1.258, allocations: 257.1 kB / 0.7375 GB, free: 120.5 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.009795/1.268, allocations: 6.078 MB / 0.7434 GB, free: 118.2 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.268, allocations: 0 / 0.7434 GB, free: 118.2 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005263/1.273, allocations: 2.869 MB / 0.7462 GB, free: 117 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/1.277, allocations: 0.7573 MB / 0.747 GB, free: 116.8 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/1.297, allocations: 13.07 MB / 0.7597 GB, free: 104.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003694/1.301, allocations: 4.186 MB / 0.7638 GB, free: 100.1 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003576/1.304, allocations: 1.322 MB / 0.7651 GB, free: 98.78 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009525/1.305, allocations: 349.2 kB / 0.7655 GB, free: 98.44 MB / 426.8 MB Notification: Performance of SimCode: time 1.654e-06/1.305, allocations: 0 / 0.7655 GB, free: 98.44 MB / 426.8 MB Notification: Performance of Templates: time 0.07972/1.385, allocations: 54.05 MB / 0.8182 GB, free: 45.06 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.956504783011042]