Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.FirstEVpow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.EV.FirstEVpow,fileNamePrefix="EHPTexamples_EHPTexamples_EV_FirstEVpow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.EV.FirstEVpow,fileNamePrefix="EHPTexamples_EHPTexamples_EV_FirstEVpow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04724/0.04724, allocations: 8.033 MB / 23.3 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007189/0.0007187, allocations: 93.8 kB / 25.88 MB, free: 3.359 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.0008484/0.0008485, allocations: 191 kB / 28.57 MB, free: 0.7227 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.274/1.274, allocations: 223.2 MB / 254.4 MB, free: 3.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0117/0.0117, allocations: 3.114 MB / 310.4 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004284, allocations: 16.48 kB / 375.5 MB, free: 53.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1028, allocations: 52.97 MB / 428.5 MB, free: 19.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003434/0.1063, allocations: 2.942 MB / 431.5 MB, free: 16.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.1088, allocations: 2.09 MB / 433.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.109, allocations: 11.94 kB / 433.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1094, allocations: 83.47 kB / 433.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.1097, allocations: 131.2 kB / 433.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.1105, allocations: 363.8 kB / 434.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.1109, allocations: 0.6191 MB / 434.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.1111, allocations: 152 kB / 434.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.1114, allocations: 235 kB / 435.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.1117, allocations: 234.8 kB / 435.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.1117, allocations: 24 kB / 435.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1119, allocations: 127.9 kB / 435.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.669e-05/0.112, allocations: 99.62 kB / 435.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.1122, allocations: 256.4 kB / 435.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.1126, allocations: 0.6423 MB / 436.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1126, allocations: 0 / 436.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1127, allocations: 0 / 436.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1127, allocations: 0 / 436.5 MB, free: 11.82 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001179/0.1139, allocations: 0.7534 MB / 437.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1139, allocations: 19.91 kB / 437.3 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.803e-05/0.114, allocations: 78.7 kB / 437.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.1142, allocations: 56.28 kB / 437.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.1146, allocations: 384.1 kB / 437.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/0.1146, allocations: 63 kB / 437.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.1147, allocations: 44 kB / 437.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.1155, allocations: 0.4975 MB / 438.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.1155, allocations: 4 kB / 438.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.1156, allocations: 16 kB / 438.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1156, allocations: 12 kB / 438.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.1163, allocations: 371.8 kB / 438.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.1182, allocations: 1.468 MB / 440.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.1191, allocations: 446.2 kB / 440.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.1195, allocations: 174.2 kB / 440.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.1195, allocations: 8.219 kB / 440.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000476/0.12, allocations: 257.6 kB / 441.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.12, allocations: 0 / 441.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003832/0.1238, allocations: 1.923 MB / 443 MB, free: 4.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.1239, allocations: 162.2 kB / 443.2 MB, free: 4.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.1242, allocations: 328.5 kB / 443.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.1243, allocations: 37.7 kB / 443.5 MB, free: 4.375 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1244, allocations: 220.4 kB / 443.8 MB, free: 4.156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.1245, allocations: 142.1 kB / 443.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.1245, allocations: 37.7 kB / 443.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.1246, allocations: 346.8 kB / 444.3 MB, free: 3.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.1249, allocations: 181 kB / 444.4 MB, free: 3.449 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.1253, allocations: 288.5 kB / 444.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.126, allocations: 383.6 kB / 445.1 MB, free: 2.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.126, allocations: 8 kB / 445.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001147/0.1271, allocations: 0.6104 MB / 445.7 MB, free: 2.094 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.1272, allocations: 148 kB / 445.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1272, allocations: 4 kB / 445.9 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/0.1276, allocations: 152.8 kB / 446 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.1279, allocations: 87.89 kB / 446.1 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005039/0.1284, allocations: 0.7172 MB / 446.8 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.1288, allocations: 76 kB / 446.9 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.1289, allocations: 19.98 kB / 446.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.1289, allocations: 4 kB / 446.9 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008372/0.1297, allocations: 468 kB / 447.4 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1298, allocations: 7.922 kB / 447.4 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/0.1301, allocations: 168.3 kB / 447.5 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.1303, allocations: 67.91 kB / 447.6 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006094/0.1309, allocations: 0.7124 MB / 448.3 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.1312, allocations: 51.98 kB / 448.4 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.1313, allocations: 24.06 kB / 448.4 MB, free: 15.32 MB / 318.1 MB 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,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003021/0.1316, allocations: 261 kB / 448.7 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.1317, allocations: 43.53 kB / 448.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1318, allocations: 52.41 kB / 448.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1318, allocations: 4 kB / 448.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1318, allocations: 0 / 448.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.1319, allocations: 8.016 kB / 448.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.134, allocations: 1.215 MB / 450 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.134, allocations: 3.938 kB / 450 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.1343, allocations: 75.89 kB / 450.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003432/0.1347, allocations: 140.8 kB / 450.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.1347, allocations: 27.92 kB / 450.2 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005695/0.1353, allocations: 0.6733 MB / 450.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1353, allocations: 0 / 450.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.137, allocations: 0.8533 MB / 451.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.1372, allocations: 156.6 kB / 451.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.1373, allocations: 16 kB / 451.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.1377, allocations: 76 kB / 452 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.1378, allocations: 55.84 kB / 452 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.1379, allocations: 15.98 kB / 452.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.1381, allocations: 235.1 kB / 452.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1382, allocations: 7.938 kB / 452.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006678/0.1388, allocations: 184 kB / 452.5 MB, free: 11.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dragF.s,dragF.v) * Number of discrete variables: 7 ($whenCondition1,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled) * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003084/0.1419, allocations: 1.767 MB / 454.2 MB, free: 9.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.1435, allocations: 0.6713 MB / 454.9 MB, free: 8.789 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.1435, allocations: 3.938 kB / 454.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.1441, allocations: 264.4 kB / 455.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.1447, allocations: 97.55 kB / 455.3 MB, free: 8.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007098/0.1518, allocations: 4.502 MB / 459.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.1524, allocations: 0.8162 MB / 460.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002995/0.1527, allocations: 71.22 kB / 460.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.1529, allocations: 143.4 kB / 460.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of SimCode: time 1.754e-06/0.1529, allocations: 4 kB / 460.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07659/0.2295, allocations: 12.38 MB / 473.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.2298, allocations: 241.4 kB / 473.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.265, allocations: 0 / 473.4 MB, free: 6.266 MB / 334.1 MB (rm -f EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEVpow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_EV_FirstEVpow_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_EV_FirstEVpow.fmu > EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe 2>&1)