Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009472/0.0009522, allocations: 91.91 kB / 16.65 MB, free: 6.59 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.001102/0.001103, allocations: 181.3 kB / 17.56 MB, free: 6.203 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.872/1.872, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.000504/0.000504, allocations: 16.22 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1305, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002034/0.1325, allocations: 1.231 MB / 329.5 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1347, allocations: 0.9061 MB / 330.5 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.1348, allocations: 0 / 330.5 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.856e-05/0.1349, allocations: 7.922 kB / 330.5 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.135, allocations: 7.938 kB / 330.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.1353, allocations: 51.89 kB / 330.5 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1354, allocations: 111.8 kB / 330.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1356, allocations: 23.98 kB / 330.7 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.1361, allocations: 379.3 kB / 331 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1362, allocations: 63.69 kB / 331.1 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.1362, allocations: 4 kB / 331.1 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.414e-05/0.1363, allocations: 4 kB / 331.1 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1364, allocations: 67.75 kB / 331.2 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1365, allocations: 140.8 kB / 331.3 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.1369, allocations: 338.7 kB / 331.6 MB, free: 432 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1369, allocations: 0 / 331.6 MB, free: 432 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1369, allocations: 0 / 331.6 MB, free: 432 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1369, allocations: 0 / 331.6 MB, free: 432 kB / 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.0007392/0.1377, allocations: 0.657 MB / 332.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1377, allocations: 12.03 kB / 332.3 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.1378, allocations: 36.47 kB / 332.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1381, allocations: 274.3 kB / 332.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.1382, allocations: 12.31 kB / 332.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.1382, allocations: 12.38 kB / 332.6 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.1386, allocations: 129.9 kB / 332.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1386, allocations: 0 / 332.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.1387, allocations: 4 kB / 332.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.1387, allocations: 0 / 332.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.1388, allocations: 59.95 kB / 332.8 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.1396, allocations: 460.5 kB / 333.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1398, allocations: 102.5 kB / 333.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.14, allocations: 76.89 kB / 333.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.14, allocations: 4 kB / 333.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/0.1404, allocations: 202.6 kB / 333.6 MB, free: 14.2 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 4.078e-06/0.1404, allocations: 4.109 kB / 333.6 MB, free: 14.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009401/0.1414, allocations: 472 kB / 334.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.1415, allocations: 166.2 kB / 334.3 MB, free: 13.51 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/0.1422, allocations: 0.513 MB / 334.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.1423, allocations: 29.7 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.1424, allocations: 105 kB / 334.9 MB, free: 12.85 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.1424, allocations: 35.58 kB / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.1425, allocations: 25.7 kB / 335 MB, free: 12.78 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1427, allocations: 330.8 kB / 335.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1428, allocations: 51.97 kB / 335.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.143, allocations: 73.69 kB / 335.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.1434, allocations: 343.3 kB / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1434, allocations: 0 / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005956/0.144, allocations: 372.3 kB / 336.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.1441, allocations: 122.8 kB / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1441, allocations: 4.031 kB / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1441, allocations: 0 / 336.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.283e-05/0.1442, allocations: 11.97 kB / 336.3 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1442, allocations: 0 / 336.3 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.1444, allocations: 20.03 kB / 336.3 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/0.1445, allocations: 43.98 kB / 336.3 MB, free: 11.31 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,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.000387/0.1449, allocations: 366.2 kB / 336.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.1449, allocations: 35.62 kB / 336.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.145, allocations: 71.14 kB / 336.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1451, allocations: 0 / 336.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1451, allocations: 0 / 336.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1451, allocations: 0 / 336.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1461, allocations: 0.8099 MB / 337.6 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1461, allocations: 0 / 337.6 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-06/0.1462, allocations: 0 / 337.6 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1462, allocations: 0 / 337.6 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.1462, allocations: 15.98 kB / 337.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1462, allocations: 3.938 kB / 337.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/0.1462, allocations: 15.88 kB / 337.6 MB, free: 9.883 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.1469, allocations: 0.5212 MB / 338.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.1472, allocations: 248.3 kB / 338.4 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.1473, allocations: 12 kB / 338.4 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1474, allocations: 11.98 kB / 338.4 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.1476, allocations: 35.89 kB / 338.4 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/0.1476, allocations: 47.94 kB / 338.5 MB, free: 8.953 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004797/0.1481, allocations: 382.9 kB / 338.9 MB, free: 8.582 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1481, allocations: 0 / 338.9 MB, free: 8.582 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1484, allocations: 44 kB / 338.9 MB, free: 8.539 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 (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.0001663/0.1486, allocations: 115 kB / 339 MB, free: 8.418 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006042/0.1492, allocations: 437.6 kB / 339.4 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1492, allocations: 0 / 339.4 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.1496, allocations: 377.7 kB / 339.8 MB, free: 7.523 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.1503, allocations: 117.5 kB / 339.9 MB, free: 7.406 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1515, allocations: 0.7508 MB / 340.7 MB, free: 6.633 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.152, allocations: 0.81 MB / 341.5 MB, free: 5.797 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.1521, allocations: 12.64 kB / 341.5 MB, free: 5.781 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.1521, allocations: 11.44 kB / 341.5 MB, free: 5.77 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1521, allocations: 0 / 341.5 MB, free: 5.77 MB / 286.1 MB Notification: Performance of Templates: time 0.007909/0.16, allocations: 3.99 MB / 345.5 MB, free: 1.738 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1)