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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 95.64 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 180.1 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004936, allocations: 16 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 47.59 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001807/0.1074, allocations: 1.198 MB / 329.6 MB, free: 2.797 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1092, allocations: 0.8475 MB / 330.5 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.1093, allocations: 4 kB / 330.5 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.626e-05/0.1094, allocations: 0 / 330.5 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.006e-05/0.1094, allocations: 19.91 kB / 330.5 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1097, allocations: 39.89 kB / 330.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.1098, allocations: 75.84 kB / 330.6 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.1099, allocations: 19.98 kB / 330.6 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.1103, allocations: 291.4 kB / 330.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1105, allocations: 75.81 kB / 331 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.1105, allocations: 3.938 kB / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.55e-05/0.1105, allocations: 4 kB / 331 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.1106, allocations: 63.77 kB / 331.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.1107, allocations: 65.58 kB / 331.1 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.111, allocations: 283.3 kB / 331.4 MB, free: 1.008 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.111, allocations: 3.938 kB / 331.4 MB, free: 1.004 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.111, allocations: 0 / 331.4 MB, free: 1.004 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.111, allocations: 0 / 331.4 MB, free: 1.004 MB / 270.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.0006949/0.1117, allocations: 0.6646 MB / 332.1 MB, free: 272 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1117, allocations: 8.031 kB / 332.1 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.367e-05/0.1118, allocations: 42.56 kB / 332.1 MB, free: 212 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.1119, allocations: 35.53 kB / 332.2 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.1122, allocations: 261.3 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1123, allocations: 12 kB / 332.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1123, allocations: 8 kB / 332.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.1126, allocations: 125.6 kB / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.1126, allocations: 0 / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.1126, allocations: 4 kB / 332.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1127, allocations: 4 kB / 332.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1128, allocations: 55.97 kB / 332.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.1135, allocations: 468.5 kB / 333.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1137, allocations: 90.55 kB / 333.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.1137, allocations: 0 / 333.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.114, allocations: 206.7 kB / 333.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.1141, allocations: 0 / 333.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008624/0.1149, allocations: 0.6154 MB / 334 MB, free: 14.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.521e-05/0.115, allocations: 170.2 kB / 334.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007069/0.1157, allocations: 0.5206 MB / 334.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.1158, allocations: 33.7 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.1159, allocations: 101.1 kB / 334.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.1159, allocations: 31.59 kB / 334.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.1159, allocations: 0 / 334.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1161, allocations: 326.8 kB / 335.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.1162, allocations: 59.97 kB / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1163, allocations: 73.67 kB / 335.3 MB, free: 12.78 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.1165, allocations: 158.8 kB / 335.4 MB, free: 12.6 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1165, allocations: 0 / 335.4 MB, free: 12.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006442/0.1172, allocations: 384.6 kB / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-05/0.1173, allocations: 122.8 kB / 335.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1173, allocations: 0 / 335.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1173, allocations: 0 / 335.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.283e-05/0.1173, allocations: 4.109 kB / 335.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1173, allocations: 11.91 kB / 335.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1175, allocations: 15.89 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.1176, allocations: 47.95 kB / 336 MB, free: 11.97 MB / 286.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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003322/0.1179, allocations: 362.4 kB / 336.4 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.118, allocations: 35.62 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.1181, allocations: 71.06 kB / 336.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1181, allocations: 0 / 336.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1181, allocations: 4 kB / 336.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1181, allocations: 0 / 336.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009552/0.1191, allocations: 0.8095 MB / 337.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1191, allocations: 0 / 337.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-06/0.1191, allocations: 0 / 337.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1191, allocations: 4 kB / 337.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.1191, allocations: 11.98 kB / 337.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1191, allocations: 0 / 337.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1191, allocations: 0 / 337.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.1198, allocations: 0.5329 MB / 337.8 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.1201, allocations: 252.3 kB / 338.1 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.1202, allocations: 8 kB / 338.1 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1203, allocations: 12 kB / 338.1 MB, free: 9.703 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1205, allocations: 23.97 kB / 338.1 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.1205, allocations: 47.92 kB / 338.2 MB, free: 9.633 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004725/0.121, allocations: 386.9 kB / 338.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.121, allocations: 0 / 338.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1213, allocations: 51.95 kB / 338.6 MB, free: 9.207 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009816/0.1223, allocations: 1.086 MB / 339.7 MB, free: 8.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005232/0.1228, allocations: 429.5 kB / 340.1 MB, free: 7.602 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1228, allocations: 0 / 340.1 MB, free: 7.602 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.1232, allocations: 381.6 kB / 340.5 MB, free: 7.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.1237, allocations: 101.8 kB / 340.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.1258, allocations: 1.598 MB / 342.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.1262, allocations: 0.8103 MB / 343 MB, free: 4.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.427e-05/0.1263, allocations: 8.656 kB / 343 MB, free: 4.582 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.1263, allocations: 31.42 kB / 343 MB, free: 4.551 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1264, allocations: 0 / 343 MB, free: 4.551 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.1426, allocations: 5.149 MB / 348.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.1429, allocations: 174 kB / 348.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/1.932, allocations: 0 / 348.3 MB, free: 15.12 MB / 302.1 MB (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/linux/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 --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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat