Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(EHPTexamples.EV.FirstEVAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVAngle") translateModel(EHPTexamples.EV.FirstEVAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04412/0.04412, allocations: 8.627 MB / 23.58 MB, free: 3.211 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008625/0.0008627, allocations: 84.73 kB / 26.27 MB, free: 1.312 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 184.5 kB / 29.08 MB, free: 3.5 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 254.9 MB, free: 9.238 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01249/0.01249, allocations: 3.124 MB / 311.1 MB, free: 4.133 MB / 238.1 MB Warning: Requested package EHPTlib of version 2.1.0, but this package was already loaded with version . OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0006345/0.0006346, allocations: 15.98 kB / 378.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3022, allocations: 53.1 MB / 431.8 MB, free: 41.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVAngle): time 0.003325/0.3056, allocations: 2.744 MB / 434.5 MB, free: 41.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.308, allocations: 1.648 MB / 436.2 MB, free: 40.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.3083, allocations: 11.38 kB / 436.2 MB, free: 40.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.3087, allocations: 89 kB / 436.3 MB, free: 40.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.309, allocations: 158 kB / 436.4 MB, free: 40.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.3098, allocations: 386.8 kB / 436.8 MB, free: 40.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.3103, allocations: 419.5 kB / 437.2 MB, free: 40.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.3106, allocations: 130.9 kB / 437.3 MB, free: 40.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.3108, allocations: 221.4 kB / 437.5 MB, free: 40.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.3111, allocations: 224.2 kB / 437.8 MB, free: 40.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.3111, allocations: 24.72 kB / 437.8 MB, free: 40.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.3114, allocations: 126.5 kB / 437.9 MB, free: 40.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-05/0.3115, allocations: 102 kB / 438 MB, free: 40.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.3116, allocations: 106.5 kB / 438.1 MB, free: 40.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.312, allocations: 0.5351 MB / 438.7 MB, free: 40.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.3121, allocations: 0.7812 kB / 438.7 MB, free: 40.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3121, allocations: 0 / 438.7 MB, free: 40.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3121, allocations: 0.8125 kB / 438.7 MB, free: 40.44 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001197/0.3133, allocations: 0.7926 MB / 439.4 MB, free: 39.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.3133, allocations: 14.75 kB / 439.5 MB, free: 39.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.3135, allocations: 58.12 kB / 439.5 MB, free: 39.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.314, allocations: 407.7 kB / 439.9 MB, free: 39.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/0.3141, allocations: 56.7 kB / 440 MB, free: 39.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.3141, allocations: 37.59 kB / 440 MB, free: 39.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008276/0.315, allocations: 0.4897 MB / 440.5 MB, free: 39.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.315, allocations: 5.172 kB / 440.5 MB, free: 39.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.3151, allocations: 21.27 kB / 440.5 MB, free: 39.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3151, allocations: 9.125 kB / 440.5 MB, free: 39.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007967/0.3159, allocations: 386 kB / 440.9 MB, free: 39.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.3177, allocations: 1.459 MB / 442.4 MB, free: 38.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/0.3186, allocations: 422.3 kB / 442.8 MB, free: 38.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.3187, allocations: 8.125 kB / 442.8 MB, free: 38.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.3192, allocations: 258.6 kB / 443 MB, free: 38.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.3192, allocations: 0 / 443 MB, free: 38.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.003534/0.3227, allocations: 1.945 MB / 445 MB, free: 37.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.3228, allocations: 193.9 kB / 445.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.3231, allocations: 374.7 kB / 445.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.3232, allocations: 36.64 kB / 445.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3233, allocations: 223.3 kB / 445.8 MB, free: 37.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.3233, allocations: 148.5 kB / 445.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.3234, allocations: 11.81 kB / 446 MB, free: 37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.3234, allocations: 351.3 kB / 446.3 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.3238, allocations: 208.9 kB / 446.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.3242, allocations: 294.8 kB / 446.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.3246, allocations: 188.3 kB / 447 MB, free: 36.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3246, allocations: 0 / 447 MB, free: 36.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001152/0.3257, allocations: 0.6233 MB / 447.6 MB, free: 36.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.3259, allocations: 0.7925 MB / 448.4 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3259, allocations: 3.5 kB / 448.4 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.3262, allocations: 159.7 kB / 448.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.3266, allocations: 101.1 kB / 448.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000474/0.3271, allocations: 0.7096 MB / 449.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.3275, allocations: 83.75 kB / 449.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.3275, allocations: 20.44 kB / 449.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.3275, allocations: 3.25 kB / 449.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008428/0.3284, allocations: 483.5 kB / 449.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3284, allocations: 3.156 kB / 449.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/0.3287, allocations: 161.8 kB / 450.1 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.3289, allocations: 73.19 kB / 450.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004232/0.3294, allocations: 0.7158 MB / 450.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.3297, allocations: 61.75 kB / 450.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.3297, allocations: 24.7 kB / 451 MB, free: 33.66 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: dragF.altimetry:VARIABLE(unit = "m" fixed = true ) type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "Absolute velocity of component" type: Real mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (driver.dummy,$whenCondition1,$PRE.driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEvent,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEventScaled,$PRE.dragF.startForward,dragF.startForward,$PRE.dragF.startBackward,dragF.startBackward,dragF.locked,$PRE.dragF.mode,dragF.mode,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002992/0.3301, allocations: 261 kB / 451.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.3301, allocations: 49.41 kB / 451.3 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.3313, allocations: 0.5982 MB / 451.9 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3313, allocations: 6.953 kB / 451.9 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3313, allocations: 0.5625 kB / 451.9 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3313, allocations: 4 kB / 451.9 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.3335, allocations: 1.347 MB / 453.2 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3336, allocations: 3.812 kB / 453.2 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.3339, allocations: 83.86 kB / 453.3 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003081/0.3342, allocations: 149.1 kB / 453.5 MB, free: 32.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.3342, allocations: 13.97 kB / 453.5 MB, free: 32.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004395/0.3347, allocations: 0.6717 MB / 454.1 MB, free: 31.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3347, allocations: 8.578 kB / 454.1 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.3362, allocations: 0.9121 MB / 455.1 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.3363, allocations: 170 kB / 455.2 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.3364, allocations: 14.16 kB / 455.2 MB, free: 31.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.3367, allocations: 58.72 kB / 455.3 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.3369, allocations: 67.33 kB / 455.4 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.3369, allocations: 19.81 kB / 455.4 MB, free: 31.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002454/0.3371, allocations: 265 kB / 455.6 MB, free: 31.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3372, allocations: 3.219 kB / 455.6 MB, free: 31.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007096/0.3379, allocations: 192.9 kB / 455.8 MB, free: 30.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (mass.s,mass.v,dragF.altimetry) * Number of discrete variables: 7 ($whenCondition1,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode) * Number of discrete states: 5 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001641/0.3395, allocations: 0.7259 MB / 456.6 MB, free: 30.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.341, allocations: 0.7146 MB / 457.3 MB, free: 30.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.341, allocations: 0 / 457.3 MB, free: 30.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.3416, allocations: 263.8 kB / 457.5 MB, free: 30.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.3421, allocations: 96.7 kB / 457.6 MB, free: 30.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.3437, allocations: 1.27 MB / 458.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.344, allocations: 0.8454 MB / 459.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002665/0.3442, allocations: 74.05 kB / 459.8 MB, free: 28.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.3444, allocations: 43.48 kB / 459.9 MB, free: 28.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3444, allocations: 0 / 459.9 MB, free: 28.97 MB / 350.1 MB Notification: Performance of Templates: time 0.01468/0.3591, allocations: 9.582 MB / 469.4 MB, free: 28.36 MB / 350.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEVAngle -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEVAngle.pipe 2>&1)