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.001265/0.001265, allocations: 103.6 kB / 21.96 MB, free: 5.219 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.001284/0.001284, allocations: 214 kB / 25.26 MB, free: 3.129 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.322/1.322, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] 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.001655/0.001655, allocations: 54.58 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2417, allocations: 49.16 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002219/0.2439, allocations: 1.465 MB / 398.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2454, allocations: 0.8516 MB / 399.4 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.2455, allocations: 1.312 kB / 399.4 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.012e-05/0.2455, allocations: 11.72 kB / 399.5 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.395e-05/0.2456, allocations: 19.59 kB / 399.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.2458, allocations: 58.41 kB / 399.5 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.246, allocations: 136.9 kB / 399.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.2461, allocations: 15.8 kB / 399.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.2465, allocations: 408.1 kB / 400.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.2466, allocations: 67.25 kB / 400.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.2467, allocations: 8.656 kB / 400.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.308e-05/0.2467, allocations: 11.25 kB / 400.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.2468, allocations: 65.44 kB / 400.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.229e-05/0.2469, allocations: 79.42 kB / 400.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.2472, allocations: 360.3 kB / 400.7 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2472, allocations: 0 / 400.7 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2472, allocations: 1.219 kB / 400.7 MB, free: 6.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2473, allocations: 0 / 400.7 MB, free: 6.926 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.0005472/0.2478, allocations: 0.6741 MB / 401.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2478, allocations: 13.64 kB / 401.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.209e-05/0.2479, allocations: 2.594 kB / 401.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.2479, allocations: 40 kB / 401.4 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.2479, allocations: 39.92 kB / 401.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.2481, allocations: 213.8 kB / 401.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2482, allocations: 9.062 kB / 401.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.2482, allocations: 11.16 kB / 401.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.2485, allocations: 243.4 kB / 401.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2485, allocations: 0 / 401.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.2485, allocations: 7.469 kB / 401.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2485, allocations: 5.219 kB / 401.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.2487, allocations: 175.8 kB / 402.1 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.2492, allocations: 417.7 kB / 402.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.2494, allocations: 191.3 kB / 402.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2495, allocations: 177.7 kB / 402.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2495, allocations: 1.25 kB / 402.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/0.2498, allocations: 318.8 kB / 403.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2498, allocations: 3.938 kB / 403.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000743/0.2506, allocations: 0.6975 MB / 403.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.2506, allocations: 167.5 kB / 404 MB, free: 4.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.2511, allocations: 0.5194 MB / 404.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2512, allocations: 29.52 kB / 404.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.2512, allocations: 96.52 kB / 404.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.2512, allocations: 30.45 kB / 404.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-05/0.2513, allocations: 87.2 kB / 404.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.036e-05/0.2514, allocations: 328.3 kB / 405.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.2515, allocations: 174 kB / 405.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2516, allocations: 192.9 kB / 405.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.2519, allocations: 354.2 kB / 405.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2519, allocations: 1.25 kB / 405.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004872/0.2524, allocations: 0.493 MB / 406.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.2524, allocations: 124 kB / 406.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2524, allocations: 0.875 kB / 406.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2524, allocations: 0.9375 kB / 406.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.639e-05/0.2525, allocations: 1.812 kB / 406.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2525, allocations: 1.125 kB / 406.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.2526, allocations: 23.78 kB / 406.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.2526, allocations: 43.67 kB / 406.5 MB, free: 2.121 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.0002465/0.2529, allocations: 372.8 kB / 406.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.2529, allocations: 38.64 kB / 406.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.986e-05/0.253, allocations: 65.66 kB / 407 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.253, allocations: 1.469 kB / 407 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.253, allocations: 0 / 407 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.253, allocations: 0.9375 kB / 407 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008274/0.2539, allocations: 0.8785 MB / 407.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2539, allocations: 1.969 kB / 407.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-06/0.2539, allocations: 0 / 407.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2539, allocations: 5.031 kB / 407.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.2539, allocations: 19.22 kB / 407.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2539, allocations: 5.031 kB / 407.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2539, allocations: 4.688 kB / 407.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.2545, allocations: 0.648 MB / 408.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.2548, allocations: 206.6 kB / 408.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.2548, allocations: 6.531 kB / 408.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.255, allocations: 19.55 kB / 408.8 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.2551, allocations: 21.31 kB / 408.8 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/0.2551, allocations: 52.34 kB / 408.8 MB, free: 436 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003881/0.2555, allocations: 383.4 kB / 409.2 MB, free: 232 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2555, allocations: 5.375 kB / 409.2 MB, free: 228 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.2558, allocations: 41.25 kB / 409.2 MB, free: 228 kB / 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.001109/0.2569, allocations: 1.204 MB / 410.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007375/0.2576, allocations: 0.6079 MB / 411.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2576, allocations: 1.812 kB / 411.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.258, allocations: 423.8 kB / 411.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/0.2587, allocations: 135.2 kB / 411.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.2626, allocations: 3.352 MB / 415 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.263, allocations: 196.3 kB / 415.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.692e-05/0.263, allocations: 10 kB / 415.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.2631, allocations: 30.2 kB / 415.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2631, allocations: 0 / 415.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.292, allocations: 6.575 MB / 421.8 MB, free: 8.078 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.02, allocations: 11.33 kB / 421.8 MB, free: 8.07 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.232865113997832] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 11.178420221083798 11.19275912 10.942683619 Calling exit ...