Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 221.4 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.299/1.299, allocations: 230.4 MB / 256.4 MB, free: 8.438 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.88 kB / 376.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2266, allocations: 53.32 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002479/0.2291, allocations: 1.538 MB / 430.9 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.231, allocations: 0.8888 MB / 431.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.231, allocations: 0 / 431.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.121e-05/0.2311, allocations: 11.86 kB / 431.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.2312, allocations: 23.84 kB / 431.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.2314, allocations: 51.89 kB / 431.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.2316, allocations: 135.7 kB / 432 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.2317, allocations: 15.97 kB / 432.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004511/0.2321, allocations: 399.2 kB / 432.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2323, allocations: 67.77 kB / 432.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.2323, allocations: 12 kB / 432.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.374e-05/0.2323, allocations: 12 kB / 432.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.2324, allocations: 67.69 kB / 432.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.2326, allocations: 119.1 kB / 432.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.2329, allocations: 358.9 kB / 433.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2329, allocations: 0 / 433.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2329, allocations: 0 / 433.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2329, allocations: 3.938 kB / 433.1 MB, free: 3.766 MB / 334.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.0007625/0.2337, allocations: 0.7343 MB / 433.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2337, allocations: 8.031 kB / 433.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.2338, allocations: 42.75 kB / 433.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.933e-05/0.2338, allocations: 44.69 kB / 433.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.2341, allocations: 270.7 kB / 434.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2341, allocations: 8.312 kB / 434.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.2342, allocations: 8.375 kB / 434.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.2344, allocations: 125.7 kB / 434.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2345, allocations: 0 / 434.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2345, allocations: 8 kB / 434.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2345, allocations: 7.984 kB / 434.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.2346, allocations: 55.97 kB / 434.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.2352, allocations: 468.4 kB / 434.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.2354, allocations: 70.55 kB / 434.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.2355, allocations: 64.88 kB / 435 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.2355, allocations: 0 / 435 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.2359, allocations: 206.6 kB / 435.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2359, allocations: 0 / 435.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000747/0.2366, allocations: 475.4 kB / 435.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.442e-05/0.2367, allocations: 166.2 kB / 435.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.2373, allocations: 0.5131 MB / 436.3 MB, free: 244 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.2373, allocations: 37.62 kB / 436.3 MB, free: 200 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.2374, allocations: 101.1 kB / 436.4 MB, free: 96 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.2374, allocations: 31.78 kB / 436.5 MB, free: 64 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.2376, allocations: 85.52 kB / 436.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2377, allocations: 326.8 kB / 436.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2378, allocations: 51.97 kB / 436.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.2379, allocations: 77.67 kB / 437 MB, free: 15.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.2383, allocations: 339.3 kB / 437.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2383, allocations: 0 / 437.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005084/0.2388, allocations: 376.3 kB / 437.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.846e-05/0.2389, allocations: 126.8 kB / 437.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2389, allocations: 0 / 437.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2389, allocations: 128 / 437.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.821e-05/0.2389, allocations: 4 kB / 437.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2389, allocations: 4 kB / 437.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.239, allocations: 19.94 kB / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.2391, allocations: 36 kB / 437.9 MB, free: 14.52 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.000329/0.2394, allocations: 366.2 kB / 438.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.2395, allocations: 39.81 kB / 438.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.2396, allocations: 67.14 kB / 438.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2396, allocations: 3.938 kB / 438.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2396, allocations: 7.984 kB / 438.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2396, allocations: 0 / 438.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009236/0.2405, allocations: 0.8133 MB / 439.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2405, allocations: 0 / 439.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.2405, allocations: 0 / 439.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2405, allocations: 0 / 439.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.2405, allocations: 20 kB / 439.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2405, allocations: 3.938 kB / 439.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2405, allocations: 7.922 kB / 439.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.2411, allocations: 0.5247 MB / 439.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.2414, allocations: 252.6 kB / 440 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.2415, allocations: 8 kB / 440 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2416, allocations: 12 kB / 440 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.2417, allocations: 27.91 kB / 440 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.2418, allocations: 47.94 kB / 440.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004431/0.2422, allocations: 382.9 kB / 440.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2422, allocations: 4 kB / 440.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.2425, allocations: 44 kB / 440.5 MB, free: 11.74 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.0009258/0.2434, allocations: 1.094 MB / 441.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004564/0.2439, allocations: 373.5 kB / 441.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2439, allocations: 0 / 441.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.2441, allocations: 305.5 kB / 442.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.2447, allocations: 130.1 kB / 442.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.2479, allocations: 2.741 MB / 445.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.2484, allocations: 0.81 MB / 445.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.584e-05/0.2484, allocations: 12.64 kB / 445.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.2485, allocations: 23.44 kB / 446 MB, free: 5.992 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2485, allocations: 0 / 446 MB, free: 5.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.2775, allocations: 5.958 MB / 451.9 MB, free: 96 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/7.467, allocations: 7.062 kB / 451.9 MB, free: 96 kB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.568800757995632]