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.01221/0.01221, allocations: 100.5 kB / 15.73 MB, free: 6 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.001715/0.001715, allocations: 191.4 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.001302/0.001303, allocations: 54.39 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1175, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003652/0.1212, allocations: 1.502 MB / 374.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1234, allocations: 0.8936 MB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.1235, allocations: 0 / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.1237, allocations: 7.922 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.1238, allocations: 27.78 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1242, allocations: 51.89 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.1246, allocations: 139.8 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.1248, allocations: 31.91 kB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005628/0.1253, allocations: 383.3 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1255, allocations: 59.77 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.1256, allocations: 16 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.523e-05/0.1256, allocations: 8 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.1258, allocations: 67.7 kB / 376.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.1259, allocations: 111.2 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.1264, allocations: 358.6 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1264, allocations: 0 / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1264, allocations: 0 / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.1264, allocations: 0 / 376.8 MB, free: 13.63 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.0009488/0.1274, allocations: 0.7266 MB / 377.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1274, allocations: 12.03 kB / 377.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.1275, allocations: 40.47 kB / 377.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1278, allocations: 270.4 kB / 377.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1279, allocations: 4.375 kB / 377.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1279, allocations: 12.31 kB / 377.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.1283, allocations: 125.9 kB / 378 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1283, allocations: 3.938 kB / 378 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.1283, allocations: 8 kB / 378 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1283, allocations: 7.984 kB / 378 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.1285, allocations: 51.97 kB / 378.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.1292, allocations: 468.4 kB / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1294, allocations: 94.48 kB / 378.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1296, allocations: 84.89 kB / 378.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1296, allocations: 0 / 378.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/0.13, allocations: 206.7 kB / 378.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.13, allocations: 0 / 378.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008486/0.1308, allocations: 472 kB / 379.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.131, allocations: 170.2 kB / 379.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/0.1316, allocations: 0.513 MB / 380 MB, free: 10.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.1316, allocations: 29.7 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/0.1317, allocations: 97.12 kB / 380.2 MB, free: 9.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.1318, allocations: 31.61 kB / 380.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1319, allocations: 85.42 kB / 380.3 MB, free: 9.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1321, allocations: 322.8 kB / 380.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.1322, allocations: 55.97 kB / 380.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1323, allocations: 77.56 kB / 380.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.1327, allocations: 343.7 kB / 381 MB, free: 9.016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1327, allocations: 112 / 381 MB, free: 9.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005089/0.1332, allocations: 388.2 kB / 381.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.851e-05/0.1333, allocations: 131.9 kB / 381.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1333, allocations: 0 / 381.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1334, allocations: 0 / 381.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.307e-05/0.1334, allocations: 0 / 381.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1334, allocations: 4 kB / 381.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.1335, allocations: 8 kB / 381.6 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.1336, allocations: 47.92 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.0003378/0.134, allocations: 374.3 kB / 382 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.134, allocations: 43.53 kB / 382 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/0.1341, allocations: 59.16 kB / 382.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1341, allocations: 0 / 382.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1341, allocations: 4 kB / 382.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1341, allocations: 0 / 382.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.1351, allocations: 0.8133 MB / 382.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1351, allocations: 3.984 kB / 382.9 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-06/0.1351, allocations: 0 / 382.9 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1351, allocations: 0 / 382.9 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.1352, allocations: 19.94 kB / 382.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1352, allocations: 4 kB / 382.9 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1352, allocations: 3.938 kB / 382.9 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.1358, allocations: 0.5212 MB / 383.4 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.1362, allocations: 244.5 kB / 383.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.1362, allocations: 12 kB / 383.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1364, allocations: 11.98 kB / 383.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.1365, allocations: 27.91 kB / 383.7 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.1366, allocations: 44 kB / 383.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004609/0.137, allocations: 390.9 kB / 384.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.137, allocations: 0 / 384.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1373, allocations: 44 kB / 384.2 MB, free: 5.621 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.0001569/0.1375, allocations: 119 kB / 384.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.138, allocations: 441.5 kB / 384.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1381, allocations: 0 / 384.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.1384, allocations: 373.6 kB / 385.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.1391, allocations: 133.2 kB / 385.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1403, allocations: 0.6539 MB / 385.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.1409, allocations: 0.8022 MB / 386.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.17e-05/0.141, allocations: 8.656 kB / 386.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.141, allocations: 15.44 kB / 386.7 MB, free: 2.934 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.141, allocations: 4 kB / 386.7 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Templates: time 0.008866/0.1499, allocations: 4.51 MB / 391.2 MB, free: 14.37 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)