Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01146/0.01146, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002015/0.002015, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.851/1.851, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.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.002115/0.002115, allocations: 46.59 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1153, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003389/0.1187, allocations: 1.509 MB / 374.7 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.121, allocations: 0.8898 MB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.1211, allocations: 0 / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.1213, allocations: 11.86 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1214, allocations: 23.84 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1217, allocations: 47.89 kB / 375.6 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.122, allocations: 155.7 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1221, allocations: 16 kB / 375.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000454/0.1226, allocations: 399.2 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1227, allocations: 63.77 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.1228, allocations: 12 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.524e-05/0.1228, allocations: 8 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.1229, allocations: 71.7 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.123, allocations: 115.2 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.1234, allocations: 358.7 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1234, allocations: 0 / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1234, allocations: 0 / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1234, allocations: 0 / 376.8 MB, free: 13.62 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.0007801/0.1242, allocations: 0.7188 MB / 377.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1243, allocations: 12.02 kB / 377.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.223e-05/0.1244, allocations: 44.45 kB / 377.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1246, allocations: 266.4 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1247, allocations: 8.375 kB / 377.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1247, allocations: 8.375 kB / 377.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.125, allocations: 141.8 kB / 378 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1251, allocations: 0 / 378 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.1251, allocations: 4 kB / 378 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1251, allocations: 4 kB / 378 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.1252, allocations: 55.97 kB / 378.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.1259, allocations: 464.4 kB / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1261, allocations: 98.55 kB / 378.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1263, allocations: 84.88 kB / 378.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.1263, allocations: 0 / 378.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004397/0.1268, allocations: 194.7 kB / 378.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1268, allocations: 4 kB / 378.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008837/0.1277, allocations: 476 kB / 379.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.1278, allocations: 166.2 kB / 379.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/0.1284, allocations: 0.5208 MB / 380 MB, free: 10.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.1285, allocations: 29.7 kB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.1285, allocations: 97.14 kB / 380.2 MB, free: 9.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.1286, allocations: 31.61 kB / 380.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1287, allocations: 77.42 kB / 380.3 MB, free: 9.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1288, allocations: 326.7 kB / 380.6 MB, free: 9.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.129, allocations: 68.03 kB / 380.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1291, allocations: 69.67 kB / 380.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.1295, allocations: 339.3 kB / 381.1 MB, free: 9.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1295, allocations: 4 kB / 381.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005395/0.13, allocations: 376.4 kB / 381.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.824e-05/0.1301, allocations: 130.7 kB / 381.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1301, allocations: 0 / 381.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1302, allocations: 4.031 kB / 381.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.443e-05/0.1302, allocations: 4 kB / 381.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1302, allocations: 4 kB / 381.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.1304, allocations: 11.98 kB / 381.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.1304, allocations: 39.94 kB / 381.6 MB, free: 8.395 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.0004246/0.1309, allocations: 370.2 kB / 382 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.1309, allocations: 39.53 kB / 382 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.131, allocations: 71.08 kB / 382.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.131, allocations: 3.984 kB / 382.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1311, allocations: 4 kB / 382.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1311, allocations: 4 kB / 382.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009837/0.1321, allocations: 0.802 MB / 382.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1321, allocations: 0 / 382.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-06/0.1321, allocations: 0 / 382.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1321, allocations: 0 / 382.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.1321, allocations: 12 kB / 382.9 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1321, allocations: 11.92 kB / 382.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1321, allocations: 3.938 kB / 382.9 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.1328, allocations: 0.5251 MB / 383.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.1331, allocations: 248.5 kB / 383.7 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.1332, allocations: 12 kB / 383.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.1333, allocations: 8.188 kB / 383.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.1335, allocations: 31.91 kB / 383.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.1336, allocations: 43.98 kB / 383.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004437/0.134, allocations: 386.9 kB / 384.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.134, allocations: 4 kB / 384.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1343, allocations: 48 kB / 384.2 MB, free: 5.613 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.0002289/0.1346, allocations: 111 kB / 384.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006687/0.1353, allocations: 441.4 kB / 384.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1353, allocations: 0 / 384.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.1356, allocations: 377.6 kB / 385.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.1362, allocations: 129.2 kB / 385.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1374, allocations: 0.6613 MB / 385.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.1379, allocations: 0.7983 MB / 386.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.944e-05/0.1379, allocations: 8.656 kB / 386.7 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.138, allocations: 15.44 kB / 386.7 MB, free: 2.93 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.138, allocations: 0 / 386.7 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Templates: time 0.009516/0.1475, allocations: 4.515 MB / 391.3 MB, free: 14.36 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1)