Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.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.004721/0.004721, allocations: 114.5 kB / 21.97 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] 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.001355/0.001355, allocations: 216.2 kB / 25.28 MB, free: 3.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 56.39 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2553, allocations: 49.17 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002515/0.2578, allocations: 1.517 MB / 398.7 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.2601, allocations: 0.9108 MB / 399.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.2601, allocations: 1.156 kB / 399.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.2602, allocations: 8.312 kB / 399.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.793e-05/0.2603, allocations: 16.56 kB / 399.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.2606, allocations: 61.31 kB / 399.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.2609, allocations: 128.5 kB / 399.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.261, allocations: 24.19 kB / 399.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006265/0.2616, allocations: 396.5 kB / 400.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.2618, allocations: 71 kB / 400.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.2618, allocations: 9.062 kB / 400.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.2619, allocations: 10.19 kB / 400.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.262, allocations: 65.98 kB / 400.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2621, allocations: 116 kB / 400.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.2626, allocations: 361.6 kB / 400.8 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2626, allocations: 1.219 kB / 400.8 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.2626, allocations: 0.75 kB / 400.8 MB, free: 6.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2627, allocations: 0 / 400.8 MB, free: 6.891 MB / 318.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.0007844/0.2634, allocations: 0.6547 MB / 401.5 MB, free: 6.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2635, allocations: 17.77 kB / 401.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.898e-05/0.2635, allocations: 6.109 kB / 401.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.2635, allocations: 39.97 kB / 401.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.2636, allocations: 38.48 kB / 401.6 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.2639, allocations: 218.6 kB / 401.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2639, allocations: 4.75 kB / 401.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.2639, allocations: 11.25 kB / 401.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.2642, allocations: 128.1 kB / 401.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2642, allocations: 4 kB / 401.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.2643, allocations: 8.797 kB / 401.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2643, allocations: 0 / 401.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.2644, allocations: 61.16 kB / 402 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.265, allocations: 426.6 kB / 402.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.2651, allocations: 71.7 kB / 402.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.2653, allocations: 59.89 kB / 402.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.2653, allocations: 9.094 kB / 402.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.2656, allocations: 198.7 kB / 402.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2656, allocations: 0 / 402.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008379/0.2665, allocations: 464.6 kB / 403.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.2666, allocations: 166.4 kB / 403.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006551/0.2672, allocations: 0.5246 MB / 403.9 MB, free: 4.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.2672, allocations: 29.58 kB / 403.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.2673, allocations: 104.1 kB / 404 MB, free: 4.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.2673, allocations: 33.23 kB / 404 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.2675, allocations: 77.55 kB / 404.1 MB, free: 4.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.2675, allocations: 326.8 kB / 404.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2677, allocations: 57.39 kB / 404.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.2678, allocations: 68.06 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.2681, allocations: 348.4 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2681, allocations: 0 / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004456/0.2685, allocations: 375.7 kB / 405.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.2686, allocations: 123.5 kB / 405.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2686, allocations: 2 kB / 405.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2686, allocations: 3.938 kB / 405.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.942e-05/0.2686, allocations: 6.031 kB / 405.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2687, allocations: 0.9844 kB / 405.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.2688, allocations: 14.81 kB / 405.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/0.2688, allocations: 47.2 kB / 405.5 MB, free: 3.43 MB / 318.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.0002719/0.2691, allocations: 361.2 kB / 405.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.2692, allocations: 40.2 kB / 405.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.445e-05/0.2693, allocations: 65.17 kB / 405.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2693, allocations: 1.609 kB / 405.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2693, allocations: 3.938 kB / 405.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2693, allocations: 3.938 kB / 405.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008244/0.2701, allocations: 0.7895 MB / 406.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2701, allocations: 6.125 kB / 406.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-06/0.2701, allocations: 0 / 406.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.2701, allocations: 1.5 kB / 406.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.2701, allocations: 15.33 kB / 406.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2701, allocations: 4.547 kB / 406.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2701, allocations: 1.344 kB / 406.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.2707, allocations: 0.5193 MB / 407.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.271, allocations: 205 kB / 407.5 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.2711, allocations: 17.05 kB / 407.5 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2712, allocations: 14.86 kB / 407.5 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.2713, allocations: 23.95 kB / 407.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.2714, allocations: 48.67 kB / 407.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004195/0.2718, allocations: 391.2 kB / 407.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2718, allocations: 0 / 407.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.2721, allocations: 42.97 kB / 408 MB, free: 1.801 MB / 318.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.000777/0.2728, allocations: 1.081 MB / 409.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003989/0.2732, allocations: 373 kB / 409.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2732, allocations: 0 / 409.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.2734, allocations: 300.4 kB / 409.7 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006298/0.2741, allocations: 119.3 kB / 409.8 MB, free: 312 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.2776, allocations: 2.76 MB / 412.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.2781, allocations: 0.8034 MB / 413.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.534e-05/0.2782, allocations: 9.859 kB / 413.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.2783, allocations: 35.16 kB / 413.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2783, allocations: 0 / 413.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.3057, allocations: 6.113 MB / 419.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.82, allocations: 14.36 kB / 419.6 MB, free: 10.62 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.039941862982232] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 10.981511494028382 11.003947151 10.738301264 Calling exit ...