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.001028/0.001028, allocations: 92.97 kB / 16.95 MB, free: 6.457 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.001021/0.001021, allocations: 182.7 kB / 17.84 MB, free: 6.008 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.96/1.96, allocations: 205.4 MB / 224 MB, free: 13.14 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.0004934/0.0004938, allocations: 16.94 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1207, allocations: 47.58 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002031/0.1227, allocations: 1.2 MB / 329.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1248, allocations: 0.8483 MB / 330.5 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.1249, allocations: 7.938 kB / 330.5 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.638e-05/0.125, allocations: 3.984 kB / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1251, allocations: 11.88 kB / 330.5 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1255, allocations: 39.88 kB / 330.6 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1256, allocations: 111.7 kB / 330.7 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1258, allocations: 19.98 kB / 330.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005691/0.1263, allocations: 351.4 kB / 331 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.1265, allocations: 71.83 kB / 331.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.1266, allocations: 4 kB / 331.1 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.649e-05/0.1266, allocations: 4 kB / 331.1 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.1267, allocations: 59.77 kB / 331.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.1268, allocations: 73.52 kB / 331.2 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.1271, allocations: 287.3 kB / 331.5 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1272, allocations: 0 / 331.5 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.1272, allocations: 11.94 kB / 331.5 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1272, allocations: 0 / 331.5 MB, free: 0.8789 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.0008699/0.1281, allocations: 0.6607 MB / 332.2 MB, free: 148 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1281, allocations: 12.03 kB / 332.2 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.627e-05/0.1282, allocations: 42.55 kB / 332.2 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.1283, allocations: 39.53 kB / 332.3 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.1287, allocations: 257.3 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1287, allocations: 8 kB / 332.5 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.1287, allocations: 8 kB / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.1291, allocations: 125.5 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1291, allocations: 0 / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.1291, allocations: 8 kB / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1291, allocations: 0 / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1293, allocations: 59.95 kB / 332.7 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.13, allocations: 456.6 kB / 333.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1302, allocations: 102.5 kB / 333.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1303, allocations: 84.89 kB / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1304, allocations: 0 / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003415/0.1307, allocations: 206.6 kB / 333.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.1307, allocations: 0 / 333.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007778/0.1315, allocations: 468.1 kB / 334 MB, free: 14.13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/0.1316, allocations: 170.2 kB / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007239/0.1324, allocations: 0.5245 MB / 334.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.1324, allocations: 29.7 kB / 334.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.1325, allocations: 93.14 kB / 334.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.1325, allocations: 27.64 kB / 334.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.1326, allocations: 8.109 kB / 334.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1327, allocations: 326.8 kB / 335.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1328, allocations: 59.91 kB / 335.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.133, allocations: 73.69 kB / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.1332, allocations: 166.8 kB / 335.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1332, allocations: 3.938 kB / 335.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005113/0.1337, allocations: 372.3 kB / 335.9 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/0.1338, allocations: 126.8 kB / 336 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1338, allocations: 128 / 336 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.1339, allocations: 4 kB / 336 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.227e-05/0.1339, allocations: 0 / 336 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1339, allocations: 8.031 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.1341, allocations: 19.86 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.1342, allocations: 43.98 kB / 336 MB, free: 11.96 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.0003548/0.1345, allocations: 362.3 kB / 336.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.1346, allocations: 31.62 kB / 336.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.1347, allocations: 67.16 kB / 336.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1347, allocations: 0 / 336.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1347, allocations: 0 / 336.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1347, allocations: 4 kB / 336.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.1357, allocations: 0.8134 MB / 337.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1357, allocations: 0 / 337.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-06/0.1357, allocations: 3.984 kB / 337.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1357, allocations: 0 / 337.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.1357, allocations: 16 kB / 337.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1358, allocations: 0 / 337.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1358, allocations: 0 / 337.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.1364, allocations: 0.5255 MB / 337.9 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.1368, allocations: 252.3 kB / 338.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.1368, allocations: 8 kB / 338.1 MB, free: 9.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.137, allocations: 19.92 kB / 338.1 MB, free: 9.691 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1371, allocations: 19.97 kB / 338.2 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.1372, allocations: 55.86 kB / 338.2 MB, free: 9.617 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004852/0.1377, allocations: 390.8 kB / 338.6 MB, free: 9.238 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1377, allocations: 0 / 338.6 MB, free: 9.238 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.138, allocations: 48 kB / 338.6 MB, free: 9.191 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.001057/0.1391, allocations: 1.082 MB / 339.7 MB, free: 8.059 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005401/0.1396, allocations: 437.5 kB / 340.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1396, allocations: 0 / 340.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.14, allocations: 381.6 kB / 340.5 MB, free: 7.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.1406, allocations: 101.5 kB / 340.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.1431, allocations: 1.549 MB / 342.2 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.1435, allocations: 0.8025 MB / 343 MB, free: 4.629 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.567e-05/0.1436, allocations: 16.59 kB / 343 MB, free: 4.613 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.1437, allocations: 27.42 kB / 343 MB, free: 4.586 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1437, allocations: 0 / 343 MB, free: 4.586 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.1621, allocations: 5.169 MB / 348.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.1624, allocations: 182.7 kB / 348.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.258, allocations: 64 / 348.4 MB, free: 15.13 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