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.001294/0.001294, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001414/0.001414, allocations: 203.8 kB / 22.12 MB, free: 0.9297 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.375/1.375, allocations: 207.6 MB / 232.5 MB, free: 11.5 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.001804/0.001804, allocations: 51.92 kB / 343 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2533, allocations: 49.12 MB / 392.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002849/0.2562, allocations: 1.518 MB / 393.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.2583, allocations: 0.8969 MB / 394.5 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2584, allocations: 3.938 kB / 394.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.2585, allocations: 9.781 kB / 394.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.2587, allocations: 22.48 kB / 394.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.259, allocations: 56.67 kB / 394.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.2593, allocations: 127.6 kB / 394.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2594, allocations: 24.3 kB / 394.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007536/0.2602, allocations: 401.8 kB / 395.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.2604, allocations: 67.97 kB / 395.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.2604, allocations: 9.406 kB / 395.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.379e-05/0.2605, allocations: 10.66 kB / 395.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2606, allocations: 66.59 kB / 395.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.2607, allocations: 115.6 kB / 395.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.2611, allocations: 359.3 kB / 395.8 MB, free: 6.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2611, allocations: 4 kB / 395.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2612, allocations: 0 / 395.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.2612, allocations: 1.344 kB / 395.8 MB, free: 6.602 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.0009308/0.2621, allocations: 0.7381 MB / 396.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.2621, allocations: 10.03 kB / 396.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.077e-05/0.2622, allocations: 1.312 kB / 396.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.2622, allocations: 40.31 kB / 396.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.632e-05/0.2623, allocations: 40.38 kB / 396.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.2626, allocations: 276.6 kB / 396.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.2626, allocations: 13.92 kB / 396.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.2626, allocations: 11.16 kB / 396.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.263, allocations: 125.2 kB / 397 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.263, allocations: 0.5625 kB / 397 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.263, allocations: 4.594 kB / 397 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.263, allocations: 1 kB / 397 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.2632, allocations: 57.91 kB / 397.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.2639, allocations: 461.3 kB / 397.5 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.2641, allocations: 75.97 kB / 397.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2642, allocations: 60.62 kB / 397.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.2642, allocations: 4.969 kB / 397.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.2645, allocations: 208.5 kB / 397.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2645, allocations: 0 / 397.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007315/0.2653, allocations: 476.3 kB / 398.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2653, allocations: 165.8 kB / 398.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.266, allocations: 0.5147 MB / 399 MB, free: 4.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.266, allocations: 37.81 kB / 399.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.2661, allocations: 96.48 kB / 399.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.2661, allocations: 27.62 kB / 399.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.2662, allocations: 80.19 kB / 399.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.2663, allocations: 328.5 kB / 399.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2664, allocations: 59.33 kB / 399.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.2665, allocations: 76.3 kB / 399.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.2668, allocations: 341.5 kB / 400 MB, free: 3.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2668, allocations: 0 / 400 MB, free: 3.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005077/0.2673, allocations: 374.2 kB / 400.4 MB, free: 3.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.2673, allocations: 128.2 kB / 400.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2674, allocations: 1.375 kB / 400.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2674, allocations: 5.438 kB / 400.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.886e-05/0.2674, allocations: 3.938 kB / 400.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2674, allocations: 1.969 kB / 400.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2675, allocations: 15.19 kB / 400.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.2676, allocations: 51.25 kB / 400.6 MB, free: 2.941 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.0002813/0.2679, allocations: 361.7 kB / 401 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.2679, allocations: 39.33 kB / 401 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/0.268, allocations: 65.27 kB / 401.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.268, allocations: 5.328 kB / 401.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.268, allocations: 4.969 kB / 401.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.268, allocations: 0 / 401.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008531/0.2689, allocations: 0.8186 MB / 401.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2689, allocations: 0.875 kB / 401.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-06/0.2689, allocations: 0.9375 kB / 401.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2689, allocations: 0.75 kB / 401.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.2689, allocations: 11.53 kB / 401.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2689, allocations: 5.125 kB / 401.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2689, allocations: 0.7031 kB / 401.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.2695, allocations: 0.5321 MB / 402.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.2698, allocations: 240.7 kB / 402.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.2698, allocations: 11.73 kB / 402.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.27, allocations: 18.89 kB / 402.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.2701, allocations: 25 kB / 402.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.2701, allocations: 43.59 kB / 402.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004452/0.2706, allocations: 392.2 kB / 403.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2706, allocations: 4 kB / 403.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.2709, allocations: 42.03 kB / 403.2 MB, free: 1.211 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.0007747/0.2717, allocations: 1.08 MB / 404.3 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.2721, allocations: 374 kB / 404.7 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2721, allocations: 4.062 kB / 404.7 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.2724, allocations: 304.9 kB / 405 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006439/0.273, allocations: 130.7 kB / 405.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.2767, allocations: 2.76 MB / 407.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.2773, allocations: 0.8028 MB / 408.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.469e-05/0.2773, allocations: 13.5 kB / 408.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.2774, allocations: 30.75 kB / 408.7 MB, free: 13 MB / 334.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2774, allocations: 0 / 408.7 MB, free: 13 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3028, allocations: 5.944 MB / 414.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.436, allocations: 19.05 kB / 414.7 MB, free: 10.48 MB / 334.1 MB " [Timeout remaining time 651] (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: 10.670571687980555] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 8.5607792789815 8.574404627 8.310485761 Calling exit ...