Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.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.001282/0.001282, allocations: 110 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] 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.001303/0.001303, allocations: 198.6 kB / 21.43 MB, free: 1.609 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.426/1.426, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 55.92 kB / 366.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 52.14 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002905/0.1089, allocations: 1.518 MB / 420 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.111, allocations: 0.8536 MB / 420.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.111, allocations: 0 / 420.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.1111, allocations: 11.88 kB / 420.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.675e-05/0.1112, allocations: 23.86 kB / 420.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1115, allocations: 51.88 kB / 420.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.1118, allocations: 135.7 kB / 421.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1119, allocations: 11.98 kB / 421.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005011/0.1124, allocations: 395.2 kB / 421.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1125, allocations: 75.67 kB / 421.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.1125, allocations: 12 kB / 421.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.632e-05/0.1126, allocations: 8 kB / 421.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.1127, allocations: 63.77 kB / 421.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1128, allocations: 115.1 kB / 421.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.1132, allocations: 362.5 kB / 422.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1132, allocations: 0 / 422.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1132, allocations: 0 / 422.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1132, allocations: 0 / 422.1 MB, free: 8.973 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008819/0.1141, allocations: 0.7382 MB / 422.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1141, allocations: 8.031 kB / 422.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.795e-05/0.1141, allocations: 4.188 kB / 422.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.1142, allocations: 46.73 kB / 422.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.1142, allocations: 36.7 kB / 422.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.1146, allocations: 286.7 kB / 423.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1146, allocations: 8.312 kB / 423.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1146, allocations: 8.375 kB / 423.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.1149, allocations: 125.5 kB / 423.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1149, allocations: 3.938 kB / 423.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.1149, allocations: 8 kB / 423.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.115, allocations: 0 / 423.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1151, allocations: 59.95 kB / 423.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.1158, allocations: 464.4 kB / 423.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.116, allocations: 78.53 kB / 423.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1161, allocations: 56.89 kB / 424 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.1161, allocations: 4 kB / 424 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.1165, allocations: 202.6 kB / 424.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.336e-06/0.1165, allocations: 4 kB / 424.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008394/0.1173, allocations: 464.1 kB / 424.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.1175, allocations: 162.2 kB / 424.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006568/0.1181, allocations: 0.5169 MB / 425.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1181, allocations: 29.7 kB / 425.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.1182, allocations: 101.1 kB / 425.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.1183, allocations: 35.73 kB / 425.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.1184, allocations: 81.55 kB / 425.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1185, allocations: 326.8 kB / 425.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1187, allocations: 55.97 kB / 426 MB, free: 4.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1188, allocations: 73.67 kB / 426 MB, free: 4.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.1192, allocations: 343.4 kB / 426.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1192, allocations: 0 / 426.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005744/0.1198, allocations: 383.2 kB / 426.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.1199, allocations: 122.8 kB / 426.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1199, allocations: 4.031 kB / 426.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1199, allocations: 0 / 426.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.58e-05/0.1199, allocations: 8 kB / 426.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1199, allocations: 0 / 426.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.12, allocations: 11.98 kB / 426.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.1201, allocations: 44.05 kB / 426.9 MB, free: 3.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003601/0.1205, allocations: 374.1 kB / 427.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.1205, allocations: 39.77 kB / 427.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.1206, allocations: 71.14 kB / 427.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1206, allocations: 4 kB / 427.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1206, allocations: 0 / 427.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1206, allocations: 128 / 427.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1216, allocations: 0.8056 MB / 428.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1216, allocations: 0 / 428.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.1216, allocations: 4 kB / 428.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1216, allocations: 7.938 kB / 428.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.1217, allocations: 11.98 kB / 428.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1217, allocations: 7.875 kB / 428.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1217, allocations: 0 / 428.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.1224, allocations: 0.5332 MB / 428.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.1227, allocations: 244.6 kB / 429 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.1228, allocations: 12 kB / 429 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1229, allocations: 11.94 kB / 429 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.123, allocations: 23.97 kB / 429.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.1231, allocations: 43.98 kB / 429.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004829/0.1236, allocations: 386.9 kB / 429.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1236, allocations: 4 kB / 429.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1238, allocations: 44 kB / 429.5 MB, free: 0.9375 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.1249, allocations: 1.078 MB / 430.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.1254, allocations: 373.5 kB / 431 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1254, allocations: 8.062 kB / 431 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.1258, allocations: 309.5 kB / 431.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.1264, allocations: 125.8 kB / 431.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.1299, allocations: 2.766 MB / 434.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.1304, allocations: 0.7944 MB / 435 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.404e-05/0.1305, allocations: 20.62 kB / 435 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.1305, allocations: 23.44 kB / 435 MB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1305, allocations: 0 / 435 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.1553, allocations: 5.97 MB / 441 MB, free: 5.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.089, allocations: 6.5 kB / 441 MB, free: 5.285 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.609135231003165] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 8.213814791990444 8.415433531 8.299976825 Calling exit ...